mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-12-22 13:45:02 +00:00
Fix statsupdate processingtime bug
This commit is contained in:
parent
f393fa88ea
commit
041cb241aa
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue