diff --git a/build/index.php b/build/index.php index a2a0129..52e03e0 100644 --- a/build/index.php +++ b/build/index.php @@ -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; } diff --git a/module_index.json b/module_index.json index 03aba6b..706eb86 100755 --- a/module_index.json +++ b/module_index.json @@ -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 }, { diff --git a/modules/feature-stats.php b/modules/feature-stats.php index d2cd8ec..67afd5b 100644 --- a/modules/feature-stats.php +++ b/modules/feature-stats.php @@ -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; }