X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcommunity.php;h=59be7487bdca55a8318410b80e4eeab16f2dc199;hb=55eb0100e6db28d7df1487b856846dbb03daee2f;hp=40ebdbb6e011f2aa5cea9a9f0a55523da7815d8b;hpb=a7db21c8fd8d1584bbc77566c830e26d9ea3519b;p=friendica.git diff --git a/mod/community.php b/mod/community.php index 40ebdbb6e0..59be7487bd 100644 --- a/mod/community.php +++ b/mod/community.php @@ -30,6 +30,11 @@ function community_content(App $a, $update = 0) $page_style = Config::get('system', 'community_page_style'); + if ($page_style == CP_NO_INTERNAL_COMMUNITY) { + notice(L10n::t('Access denied.') . EOL); + return; + } + if ($a->argc > 1) { $content = $a->argv[1]; } else { @@ -166,7 +171,7 @@ function community_content(App $a, $update = 0) $s = $r; } - $o .= conversation($a, $s, 'community', $update); + $o .= conversation($a, $s, 'community', $update, false, 'commented', local_user()); if (!$update) { $o .= alt_pager($a, count($r));