aboutsummaryrefslogtreecommitdiffstats
path: root/mod/siteinfo.php
diff options
context:
space:
mode:
authorhabeascodice <habeascodice@federated.social>2014-10-09 01:06:59 -0700
committerhabeascodice <habeascodice@federated.social>2014-10-09 01:06:59 -0700
commit7a106cf60cfa005ec6d8c35f922dc57b9af0175e (patch)
tree34b0593f9922f33d9e2c2c517ba9f6e9d3490c44 /mod/siteinfo.php
parent737a3362d50900a5f26aada14f515c5c857a762f (diff)
parentfc0576acf810019a0c168bfa4dc4a2175ae0b505 (diff)
downloadvolse-hubzilla-7a106cf60cfa005ec6d8c35f922dc57b9af0175e.tar.gz
volse-hubzilla-7a106cf60cfa005ec6d8c35f922dc57b9af0175e.tar.bz2
volse-hubzilla-7a106cf60cfa005ec6d8c35f922dc57b9af0175e.zip
Merge remote branch 'upstream/master'
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);
}