]> git.mxchange.org Git - friendica.git/commitdiff
Use "self"
authorMichael <heluecht@pirati.ca>
Sun, 6 Jun 2021 09:24:12 +0000 (09:24 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 6 Jun 2021 09:24:12 +0000 (09:24 +0000)
src/Model/Item.php

index 0d7df891e2d5db11796a8a57dde0252ccd2ce232..79564946750fd88c78adf856eb79a4fbb03e1e64 100644 (file)
@@ -1921,9 +1921,9 @@ class Item
                if ($user['allow_cid'] || $user['allow_gid'] || $user['deny_cid'] || $user['deny_gid']) {
                        $private = self::PRIVATE;
                } elseif (DI::pConfig()->get($user['uid'], 'system', 'unlisted')) {
-                       $private = Item::UNLISTED;
+                       $private = self::UNLISTED;
                } else {
-                       $private = Item::PUBLIC;
+                       $private = self::PUBLIC;
                }
 
                $psid = PermissionSet::getIdFromACL(