1
1
Fork 0

Move Contact::Page_* constants to User::PAGE_FLAGS_*

This commit is contained in:
Hypolite Petovan 2019-01-06 12:37:48 -05:00
commit ad9c67663d
23 changed files with 126 additions and 86 deletions

View file

@ -351,7 +351,7 @@ function dfrn_notify_content(App $a) {
$rino = $rino_remote;
}
if (($importer['rel'] && ($importer['rel'] != Contact::SHARING)) || ($importer['page-flags'] == Contact::PAGE_COMMUNITY)) {
if (($importer['rel'] && ($importer['rel'] != Contact::SHARING)) || ($importer['page-flags'] == User::PAGE_FLAGS_COMMUNITY)) {
$perm = 'rw';
} else {
$perm = 'r';