$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 {
$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));