From: mjollnir_ Date: Fri, 22 Sep 2006 03:15:52 +0000 (+0000) Subject: As well as a credit to Nigel for the stats schema upgrade and data migration, the... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=29bbc6e7301210e7cfc0bd32c5930ca341357674;p=moodle.git 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 --- diff --git a/lib/statslib.php b/lib/statslib.php index eac01701a7..b30f288d07 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; }