mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:50:11 +00:00
Move Contact::Page_* constants to User::PAGE_FLAGS_*
This commit is contained in:
parent
11a4a57bfe
commit
ad9c67663d
23 changed files with 126 additions and 86 deletions
|
@ -2526,8 +2526,8 @@ class Item extends BaseObject
|
|||
return;
|
||||
}
|
||||
|
||||
$community_page = (($user['page-flags'] == Contact::PAGE_COMMUNITY) ? true : false);
|
||||
$prvgroup = (($user['page-flags'] == Contact::PAGE_PRVGROUP) ? true : false);
|
||||
$community_page = (($user['page-flags'] == User::PAGE_FLAGS_COMMUNITY) ? true : false);
|
||||
$prvgroup = (($user['page-flags'] == User::PAGE_FLAGS_PRVGROUP) ? true : false);
|
||||
|
||||
$item = self::selectFirst(self::ITEM_FIELDLIST, ['id' => $item_id]);
|
||||
if (!DBA::isResult($item)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue