aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authortuscanhobbit <tuscanhobbit@users.noreply.github.com>2014-10-08 18:56:42 +0200
committertuscanhobbit <tuscanhobbit@users.noreply.github.com>2014-10-08 18:56:42 +0200
commitc7c76cf221e8bcda5f6491ef9935ed9a7378088a (patch)
treede2eabfb9ecfb78b797bb92d14830afd667ba3c8 /mod
parent29faf955f6ce35af747d867133b3cb09e79ba675 (diff)
downloadvolse-hubzilla-c7c76cf221e8bcda5f6491ef9935ed9a7378088a.tar.gz
volse-hubzilla-c7c76cf221e8bcda5f6491ef9935ed9a7378088a.tar.bz2
volse-hubzilla-c7c76cf221e8bcda5f6491ef9935ed9a7378088a.zip
The simplest way to hide hubs in statistics
Diffstat (limited to 'mod')
-rw-r--r--mod/siteinfo.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/siteinfo.php b/mod/siteinfo.php
index de55c69cf..ef0dde065 100644
--- a/mod/siteinfo.php
+++ b/mod/siteinfo.php
@@ -74,7 +74,8 @@ function siteinfo_init(&$a) {
'channels_total' => $channels_total_stat,
'channels_active_halfyear' => $channels_active_halfyear_stat,
'channels_active_monthly' => $channels_active_monthly_stat,
- 'local_posts' => $local_posts_stat
+ 'local_posts' => $local_posts_stat,
+ 'hide_in_statistics' => get_config('system','hide_in_statistics')
);
json_return_and_die($data);
}