]> git.mjollnir.org Git - moodle.git/commitdiff
event update code
authortoyomoyo <toyomoyo>
Fri, 20 Apr 2007 05:43:11 +0000 (05:43 +0000)
committertoyomoyo <toyomoyo>
Fri, 20 Apr 2007 05:43:11 +0000 (05:43 +0000)
admin/index.php

index c0c39b44935e69bd2bf555b7193529d151837072..f98bbeaa938b484dac58ba89d7cfa8f46b06099b 100644 (file)
                     } 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');