MDL-9983, MDL-13998, MDL-15552 core events related cleanup and potential sql injection problem fixed; please note the changes are not backwards compatible, 3rd party code will need to be updated - sorry for the trouble

This commit is contained in:
skodak
2008-07-06 17:55:54 +00:00
parent 5d1bd2051d
commit 2959f8b18e
16 changed files with 200 additions and 73 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");