MDL-9848 eventslib improvements and cleanup

This commit is contained in:
skodak 2007-05-22 10:26:29 +00:00
parent cd26d8e047
commit d46306de6a
10 changed files with 534 additions and 227 deletions

View file

@ -123,6 +123,9 @@
// Delete the capabilities that were defined by this module
capabilities_cleanup('mod/'.$module->name);
// remove entent handlers and dequeue pending events
events_uninstall('mod/'.$module->name);
// rebuild_course_cache(); // Because things have changed
$coursesaffected = true;