Merge branch 'MDL-53154-30' of git://github.com/junpataleta/moodle into MOODLE_30_STABLE
This commit is contained in:
@@ -61,6 +61,8 @@ if ($delete === md5($course->timemodified)) {
|
||||
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading($strdeletingcourse);
|
||||
// This might take a while. Raise the execution time limit.
|
||||
core_php_time_limit::raise();
|
||||
// We do this here because it spits out feedback as it goes.
|
||||
delete_course($course);
|
||||
echo $OUTPUT->heading( get_string("deletedcourse", "", $courseshortname) );
|
||||
|
||||
Reference in New Issue
Block a user