mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
Merge branch 'MDL-53154-master' of git://github.com/junpataleta/moodle
This commit is contained in:
commit
7f02500bd8
@ -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) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user