summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/hooks/main-warning.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2017-03-02 14:27:00 +0100
committerSimon Rettberg2017-03-02 14:27:00 +0100
commit7b198f93c1848589501ff8e41809412aa7ff72f9 (patch)
tree8e53c4a42d02b629835b2c597921bdbcf45d66ce /modules-available/statistics_reporting/hooks/main-warning.inc.php
parent[systemstatus] Add lighttpd error log (diff)
parent[statistics_reporting] fixed column selector order (diff)
downloadslx-admin-7b198f93c1848589501ff8e41809412aa7ff72f9.tar.gz
slx-admin-7b198f93c1848589501ff8e41809412aa7ff72f9.tar.xz
slx-admin-7b198f93c1848589501ff8e41809412aa7ff72f9.zip
Merge branch 'statistics_reporting'
Diffstat (limited to 'modules-available/statistics_reporting/hooks/main-warning.inc.php')
-rw-r--r--modules-available/statistics_reporting/hooks/main-warning.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules-available/statistics_reporting/hooks/main-warning.inc.php b/modules-available/statistics_reporting/hooks/main-warning.inc.php
new file mode 100644
index 00000000..33381c9f
--- /dev/null
+++ b/modules-available/statistics_reporting/hooks/main-warning.inc.php
@@ -0,0 +1,5 @@
+<?php
+
+if (!RemoteReport::isReportingEnabled()) {
+ Message::addInfo('statistics_reporting.remote-report-disabled', true);
+}