return [];
}
+ if (local_user() && DI::config()->get('system', 'community_no_followers')) {
+ $condition[0] .= " AND NOT EXISTS (SELECT `uri-id` FROM `thread` AS t1 WHERE `t1`.`uri-id` = `thread`.`uri-id` AND `t1`.`uid` = ?)";
+ $condition[] = local_user();
+ }
+
if (isset($max_id)) {
$condition[0] .= " AND `commented` < ?";
$condition[] = $max_id;
// Deny public access to the local user directory.
'block_local_dir' => false,
+ // community_no_followers (Boolean)
+ // Don't display followers on the global community
+ 'community_no_followers' => false,
+
// cron_interval (Integer)
// Minimal period in minutes between two calls of the "Cron" worker job.
'cron_interval' => 5,