Permalink
Browse files

MDL-31157 quiz cron: another regression from MDL-30635

  • Loading branch information...
timhunt authored and stronk7 committed Jan 18, 2012
1 parent 4416991 commit e7a8905fc95b720d98ac71e29e423a9d125a8458
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/lib.php
View
@@ -440,7 +440,7 @@ function quiz_user_complete($course, $user, $mod, $quiz) {
* as sending out mail, toggling flags etc ...
*/
function quiz_cron() {
- global $DB;
+ global $DB, $CFG;
// First handle standard plugins.
cron_execute_plugin_type('quiz', 'quiz reports');

0 comments on commit e7a8905

Please sign in to comment.