]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_notify.php
Move Contact::Page_* constants to User::PAGE_FLAGS_*
[friendica.git] / mod / dfrn_notify.php
index 41b7684ac64f7392b2e6d9f9d55b5b916cbb5068..ac62d745342b8322ee0b8d0900b0c81b865c125d 100644 (file)
@@ -351,7 +351,7 @@ function dfrn_notify_content(App $a) {
                        $rino = $rino_remote;
                }
 
-               if (($importer['rel'] && ($importer['rel'] != Contact::SHARING)) || ($importer['page-flags'] == Contact::PAGE_COMMUNITY)) {
+               if (($importer['rel'] && ($importer['rel'] != Contact::SHARING)) || ($importer['page-flags'] == User::PAGE_FLAGS_COMMUNITY)) {
                        $perm = 'rw';
                } else {
                        $perm = 'r';