aboutsummaryrefslogtreecommitdiffstats
path: root/mod/siteinfo.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-08 15:59:04 -0700
committerfriendica <info@friendica.com>2014-10-08 15:59:04 -0700
commit15a17280d96819360dca5d4a2e315a4292b29bb9 (patch)
tree51d52b48733441411922d84af2f864a22f6e8ac9 /mod/siteinfo.php
parentbca4d540e06151e074022e9cd8e129198585023b (diff)
parent5fa1753108d6ba9470b5fcb3f40517c4f2ac5b84 (diff)
downloadvolse-hubzilla-15a17280d96819360dca5d4a2e315a4292b29bb9.tar.gz
volse-hubzilla-15a17280d96819360dca5d4a2e315a4292b29bb9.tar.bz2
volse-hubzilla-15a17280d96819360dca5d4a2e315a4292b29bb9.zip
Merge https://github.com/friendica/red into pending_merge
Diffstat (limited to 'mod/siteinfo.php')
-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);
}