]> git.mxchange.org Git - friendica.git/blobdiff - mod/videos.php
Move Contact::Page_* constants to User::PAGE_FLAGS_*
[friendica.git] / mod / videos.php
index df0fb237569882712791a0f21d30994008dab2fd..1d37b76bd6d3397e8bd8ff6e87540846e80ef580 100644 (file)
@@ -178,7 +178,7 @@ function videos_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;