From 109463e480dead125e0ec8367f19b4d1ab486aa9 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Fri, 20 Apr 2007 05:43:11 +0000 Subject: [PATCH] event update code --- admin/index.php | 3 +++ 1 file changed, 3 insertions(+) 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'); -- 2.39.5