MDL-9983, MDL-13998 core events related cleanup; merged from MOODLE_19_STABLE
This commit is contained in:
+1
-4
@@ -72,12 +72,9 @@
|
||||
|
||||
print_heading($strdeletingcourse);
|
||||
|
||||
delete_course($course->id);
|
||||
delete_course($course);
|
||||
fix_course_sortorder(); //update course count in catagories
|
||||
|
||||
// MDL-9983
|
||||
events_trigger('course_deleted', $course);
|
||||
|
||||
print_heading( get_string("deletedcourse", "", format_string($course->shortname)) );
|
||||
|
||||
print_continue("category.php?id=$course->category");
|
||||
|
||||
Reference in New Issue
Block a user