]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/PermissionSet.php
Some more notices removed
[friendica.git] / src / Model / PermissionSet.php
index f83f9ccb555cbabafd0c8bb65292d4d02860e582..cbbde2ae0a19f25375bef07c07d0c06885aac25e 100644 (file)
@@ -22,11 +22,6 @@ class PermissionSet extends BaseObject
         */
        public static function fetchIDForPost(&$postarray)
        {
-               if (is_null($postarray['allow_cid']) || is_null($postarray['allow_gid'])
-                       || is_null($postarray['deny_cid']) || is_null($postarray['deny_gid'])) {
-                       return null;
-               }
-
                $condition = ['uid' => $postarray['uid'],
                        'allow_cid' => self::sortPermissions(defaults($postarray, 'allow_cid', '')),
                        'allow_gid' => self::sortPermissions(defaults($postarray, 'allow_gid', '')),