From: toyomoyo Date: Fri, 20 Apr 2007 05:43:11 +0000 (+0000) Subject: event update code X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=109463e480dead125e0ec8367f19b4d1ab486aa9;p=moodle.git event update code --- diff --git a/admin/index.php b/admin/index.php index c0c39b4493..f98bbeaa93 100644 --- a/admin/index.php +++ b/admin/index.php @@ -326,6 +326,9 @@ } else if (!update_capabilities()) { error('Had trouble upgrading the core capabilities for the Roles System'); } + // update core events + events_update_definition(); + require_once($CFG->libdir.'/statslib.php'); if (!stats_upgrade_for_roles_wrapper()) { notify('Couldn\'t upgrade the stats tables to use the new roles system');