Browse files

DOn't process stats if it's blocked

  • Loading branch information...
1 parent f598a45 commit 5decc6f064f9058c8a1e2d5c9caf42dfa241e50f moodler committed Sep 3, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/cron.php
View
2 admin/cron.php
@@ -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");

0 comments on commit 5decc6f

Please sign in to comment.