From 29bbc6e7301210e7cfc0bd32c5930ca341357674 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Fri, 22 Sep 2006 03:15:52 +0000 Subject: [PATCH] As well as a credit to Nigel for the stats schema upgrade and data migration, the previous commit here should have had a HUGE credit to Geoff Cant for NINJA SQL --- lib/statslib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/statslib.php b/lib/statslib.php index eac01701a72..b30f288d07c 100644 --- a/lib/statslib.php +++ b/lib/statslib.php @@ -54,7 +54,7 @@ function stats_cron_daily () { global $CFG; - + if (empty($CFG->enablestats)) { return STATS_RUN_ABORTED; }