MDL-9983, MDL-13998 core events related cleanup; merged from MOODLE_19_STABLE

This commit is contained in:
skodak
2008-07-06 17:57:06 +00:00
parent c4f3038349
commit 2942a5cd34
15 changed files with 195 additions and 70 deletions
+1 -4
View File
@@ -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");