aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-10-09 08:53:47 +1100
committerRedMatrix <info@friendica.com>2014-10-09 08:53:47 +1100
commit6f2bf5162ce6ef73431f237260f0116c7f7d2eab (patch)
treec316cac094bfd5692b2d9161bcde207b156ea64d
parent29faf955f6ce35af747d867133b3cb09e79ba675 (diff)
parent9edaa2843b9982f52fb1ed93b1c6e3d9e53921d7 (diff)
downloadvolse-hubzilla-6f2bf5162ce6ef73431f237260f0116c7f7d2eab.tar.gz
volse-hubzilla-6f2bf5162ce6ef73431f237260f0116c7f7d2eab.tar.bz2
volse-hubzilla-6f2bf5162ce6ef73431f237260f0116c7f7d2eab.zip
Merge pull request #627 from tuscanhobbit/dev
The simplest way to hide hubs in statistics
-rw-r--r--mod/siteinfo.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/siteinfo.php b/mod/siteinfo.php
index de55c69cf..c1d65fadd 100644
--- a/mod/siteinfo.php
+++ b/mod/siteinfo.php
@@ -55,6 +55,7 @@ function siteinfo_init(&$a) {
$channels_active_halfyear_stat = intval(get_config('system','channels_active_halfyear_stat'));
$channels_active_monthly_stat = intval(get_config('system','channels_active_monthly_stat'));
$local_posts_stat = intval(get_config('system','local_posts_stat'));
+ $hide_in_statistics = intval(get_config('system','hide_in_statistics'));
$data = Array(
'version' => RED_VERSION,
@@ -74,7 +75,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' => $hide_in_statistics
);
json_return_and_die($data);
}