Merge branch 'MDL-71136_311' of https://github.com/TomoTsuyuki/moodle into MOODLE_311_STABLE

This commit is contained in:
Sara Arjona
2021-04-22 13:56:43 +02:00
2 changed files with 68 additions and 1 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class course_backup_task extends \core\task\adhoc_task {
try {
$course = $DB->get_record('course', array('id' => $courseid), '*', MUST_EXIST);
} catch (moodle_exception $e) {
} catch (\moodle_exception $e) {
mtrace('Invalid course id: ' . $courseid . ', task aborted.');
return;
}