X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fvideos.php;h=4120c136f177c009562fe385047b6ea82d59549c;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=df0fb237569882712791a0f21d30994008dab2fd;hpb=dbc6eb5422b81c95d6e1eea63c8ace794ccd2039;p=friendica.git diff --git a/mod/videos.php b/mod/videos.php index df0fb23756..4120c136f1 100644 --- a/mod/videos.php +++ b/mod/videos.php @@ -16,6 +16,7 @@ use Friendica\Model\Contact; use Friendica\Model\Group; use Friendica\Model\Item; use Friendica\Model\Profile; +use Friendica\Model\User; use Friendica\Protocol\DFRN; use Friendica\Util\Security; @@ -178,7 +179,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;