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
|
@ -202,11 +202,11 @@ function dfrn_confirm_post(App $a, $handsfree = null)
|
|||
$params['duplex'] = 1;
|
||||
}
|
||||
|
||||
if ($user['page-flags'] == Contact::PAGE_COMMUNITY) {
|
||||
if ($user['page-flags'] == User::PAGE_FLAGS_COMMUNITY) {
|
||||
$params['page'] = 1;
|
||||
}
|
||||
|
||||
if ($user['page-flags'] == Contact::PAGE_PRVGROUP) {
|
||||
if ($user['page-flags'] == User::PAGE_FLAGS_PRVGROUP) {
|
||||
$params['page'] = 2;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue