- moved PAGE_* constants to class Friendica\Model\Profile
This commit is contained in:
Roland Häder 2018-07-25 02:34:52 +02:00
parent 31d0fac64a
commit e03fc64e6c
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -159,11 +159,11 @@ function forumdirectory_content(&$a)
}
switch ($rr['page-flags']) {
case PAGE_NORMAL : $page_type = "Personal Profile"; break;
case PAGE_SOAPBOX : $page_type = "Fan Page" ; break;
case PAGE_COMMUNITY: $page_type = "Community Forum" ; break;
case PAGE_FREELOVE : $page_type = "Open Forum" ; break;
case PAGE_PRVGROUP : $page_type = "Private Group" ; break;
case Profile::PAGE_NORMAL : $page_type = "Personal Profile"; break;
case Profile::PAGE_SOAPBOX : $page_type = "Fan Page" ; break;
case Profile::PAGE_COMMUNITY: $page_type = "Community Forum" ; break;
case Profile::PAGE_FREELOVE : $page_type = "Open Forum" ; break;
case Profile::PAGE_PRVGROUP : $page_type = "Private Group" ; break;
}
$profile = $rr;