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
-2
View File
@@ -122,8 +122,6 @@
if (!update_course($data)) {
print_error('coursenotupdated');
}
// MDL-9983
events_trigger('course_updated', $data);
redirect($CFG->wwwroot."/course/view.php?id=$course->id");
}
}