summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics_reporting/hooks/main-warning.inc.php
diff options
context:
space:
mode:
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);
+}