Skip to content

Commit

Permalink
event update code
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed Apr 20, 2007
1 parent 1d9bc9a commit 109463e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin/index.php
Expand Up @@ -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');
Expand Down

0 comments on commit 109463e

Please sign in to comment.