Merging $CFG->disablestatsprocessing from stable

This commit is contained in:
moodler
2006-09-03 15:46:21 +00:00
parent de48394039
commit 72df7e1ebd
3 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -274,7 +274,7 @@
unset($enrol);
}
if (!empty($CFG->enablestats)) {
if (!empty($CFG->enablestats) and empty($CFG->disablestatsprocessing)) {
// check we're not before our runtime
$timetocheck = strtotime("$CFG->statsruntimestarthour:$CFG->statsruntimestartminute today");