]> git.mxchange.org Git - friendica.git/blobdiff - mod/profiles.php
Move Contact::Page_* constants to User::PAGE_FLAGS_*
[friendica.git] / mod / profiles.php
index b56a7911d3f7612371bb4b170fc5280e1920cd49..add9d50852b6f8e02dfead7e21474fdfe58f4c9e 100644 (file)
@@ -532,7 +532,7 @@ function profiles_content(App $a) {
                ]);
 
                $personal_account = !(in_array($a->user["page-flags"],
-                                       [Contact::PAGE_COMMUNITY, Contact::PAGE_PRVGROUP]));
+                                       [User::PAGE_FLAGS_COMMUNITY, User::PAGE_FLAGS_PRVGROUP]));
 
                $detailled_profile = (PConfig::get(local_user(), 'system', 'detailled_profile') AND $personal_account);