mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
Make the community pages available to local users every time
This commit is contained in:
parent
2831638aeb
commit
b002574590
3 changed files with 4 additions and 32 deletions
|
@ -19,7 +19,7 @@ function community_content(App $a, $update = 0) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!in_array(Config::get('system','community_page_style'), [CP_USERS_ON_SERVER, CP_USERS_AND_GLOBAL])) {
|
||||
if (!local_user() && !in_array(Config::get('system','community_page_style'), [CP_USERS_ON_SERVER, CP_USERS_AND_GLOBAL])) {
|
||||
notice(t('Not available.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue