summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2017-03-21 14:42:11 +0100
committerSimon Rettberg2017-03-21 14:42:11 +0100
commit09d0d4957f0013c0b83843ccf5e254d0e395518e (patch)
treeb987bfd9230c5f4913ddeca10df974475dc63525
parent[inc/Download] Properly return final HTTP status code for redirected requests (diff)
downloadslx-admin-09d0d4957f0013c0b83843ccf5e254d0e395518e.tar.gz
slx-admin-09d0d4957f0013c0b83843ccf5e254d0e395518e.tar.xz
slx-admin-09d0d4957f0013c0b83843ccf5e254d0e395518e.zip
[statistics_reporting] cron: Write message to event log on successful submit
-rw-r--r--modules-available/statistics_reporting/hooks/cron.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/statistics_reporting/hooks/cron.inc.php b/modules-available/statistics_reporting/hooks/cron.inc.php
index a48f74c2..45f39719 100644
--- a/modules-available/statistics_reporting/hooks/cron.inc.php
+++ b/modules-available/statistics_reporting/hooks/cron.inc.php
@@ -18,6 +18,8 @@ if (RemoteReport::isReportingEnabled()) {
if ($code != 200) {
EventLog::warning("Statistics Reporting failed: " . $code, $result);
+ } else {
+ EventLog::info('Statistics report sent to ' . CONFIG_REPORTING_URL);
}
}
} \ No newline at end of file