]> git.mxchange.org Git - friendica.git/blobdiff - include/enotify.php
Move Contact::Page_* constants to User::PAGE_FLAGS_*
[friendica.git] / include / enotify.php
index be8552ed6e710477bcbc2b97ffdcc76314e2b5b2..80e6782c2dcc74303f22f5dc91b827aa8150aff9 100644 (file)
@@ -78,7 +78,7 @@ function notification($params)
                        ['uid' => $params['uid']]);
 
                // There is no need to create notifications for forum accounts
-               if (!DBA::isResult($user) || in_array($user["page-flags"], [Contact::PAGE_COMMUNITY, Contact::PAGE_PRVGROUP])) {
+               if (!DBA::isResult($user) || in_array($user["page-flags"], [User::PAGE_FLAGS_COMMUNITY, User::PAGE_FLAGS_PRVGROUP])) {
                        return;
                }
                $nickname = $user["nickname"];