Permalink
Browse files
MDL-31157 quiz cron: another regression from MDL-30635
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
mod/quiz/lib.php
|
@@ -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