]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Move Contact::Page_* constants to User::PAGE_FLAGS_*
[friendica.git] / mod / photos.php
index 31b026f8995a40536a99dad17033be5e7898d6d0..2171309e8f6165c03bfa0d4e2b1766ff7c6ac0c7 100644 (file)
@@ -153,7 +153,7 @@ function photos_post(App $a)
        $visitor   = 0;
 
        $page_owner_uid = $a->data['user']['uid'];
-       $community_page = $a->data['user']['page-flags'] == Contact::PAGE_COMMUNITY;
+       $community_page = $a->data['user']['page-flags'] == User::PAGE_FLAGS_COMMUNITY;
 
        if (local_user() && (local_user() == $page_owner_uid)) {
                $can_post = true;
@@ -938,7 +938,7 @@ function photos_content(App $a)
 
        $owner_uid = $a->data['user']['uid'];
 
-       $community_page = (($a->data['user']['page-flags'] == Contact::PAGE_COMMUNITY) ? true : false);
+       $community_page = (($a->data['user']['page-flags'] == User::PAGE_FLAGS_COMMUNITY) ? true : false);
 
        if (local_user() && (local_user() == $owner_uid)) {
                $can_post = true;