]> git.mxchange.org Git - friendica.git/blobdiff - mod/videos.php
Moved global PAGE_* to Profile class (#5500)
[friendica.git] / mod / videos.php
index b0f8868d550ea788ea1c2567a99f344df0bb606f..505c3c2a8fdfc5bdbcd1cb84dad3c2871ed8c6a7 100644 (file)
@@ -240,7 +240,7 @@ function videos_content(App $a)
 
        $owner_uid = $a->data['user']['uid'];
 
-       $community_page = (($a->data['user']['page-flags'] == PAGE_COMMUNITY) ? true : false);
+       $community_page = (($a->data['user']['page-flags'] == Contact::PAGE_COMMUNITY) ? true : false);
 
        if ((local_user()) && (local_user() == $owner_uid)) {
                $can_post = true;