New function for pictures, calculation period of "statistics" changed #184

Merged
annando merged 4 commits from master into master 2014-03-02 08:28:58 +01:00
Showing only changes of commit 01efb523b7 - Show all commits

View file

@ -42,8 +42,8 @@ function statistics_json_cron($a,$b) {
$last = get_config('statistics_json','last_calucation');
if($last) {
// Calculate all 6 hours
$next = $last + (360 * 60);
// Calculate every 24 hours
$next = $last + (24 * 60 * 60);
if($next > time()) {
logger('statistics_json_cron: calculation intervall not reached');
return;