Fix statsupdate processingtime bug

This commit is contained in:
Starbeamrainbowlabs 2017-09-01 11:32:56 +01:00
parent f393fa88ea
commit 041cb241aa
3 changed files with 3 additions and 3 deletions

View File

@ -4225,7 +4225,7 @@ function update_statistics($update_all = false)
$stats_updated++;
if(!$update_all && microtime(true) - $start_time >= $stats_update_processingtime)
if(!$update_all && microtime(true) - $start_time >= $settings->stats_update_processingtime)
break;
}

View File

@ -113,7 +113,7 @@
"author": "Starbeamrainbowlabs",
"description": "An extensible statistics calculation system. Comes with a range of built-in statistics, but can be extended by other modules too.",
"id": "feature-stats",
"lastupdate": 1502732758,
"lastupdate": 1504261794,
"optional": false
},
{

View File

@ -191,7 +191,7 @@ function update_statistics($update_all = false)
$stats_updated++;
if(!$update_all && microtime(true) - $start_time >= $stats_update_processingtime)
if(!$update_all && microtime(true) - $start_time >= $settings->stats_update_processingtime)
break;
}