From 041cb241aafeaad7b301442c55d8208ddcc59577 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Fri, 1 Sep 2017 11:32:56 +0100 Subject: [PATCH] Fix statsupdate processingtime bug --- build/index.php | 2 +- module_index.json | 2 +- modules/feature-stats.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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; }