diff options
author | Simon Rettberg | 2017-03-21 14:42:11 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-03-21 14:42:11 +0100 |
commit | 09d0d4957f0013c0b83843ccf5e254d0e395518e (patch) | |
tree | b987bfd9230c5f4913ddeca10df974475dc63525 | |
parent | [inc/Download] Properly return final HTTP status code for redirected requests (diff) | |
download | slx-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.php | 2 |
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 |