Commit db7c5d75 authored by tbrehm's avatar tbrehm

Suppressed date warnings in monitor module.

FS#1490 - Set default timezone for PHP date formatting
parent 37660da3
......@@ -865,7 +865,7 @@ class monitor_core_module {
/*
* This monitoring is expensive, so do it only once an hour
*/
$min = date('i');
$min = @date('i');
if ($min != 0) return;
/*
......@@ -1174,8 +1174,8 @@ class monitor_core_module {
/*
* This monitoring is expensive, so do it only once a day
*/
$min = date('i');
$hour = date('H');
$min = @date('i');
$hour = @date('H');
if (!($min == 0 && $hour == 23)) return;
global $app;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment