Skip to content

Commit

Permalink
MDL-14649 fixed cli upgrade too
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed May 2, 2008
1 parent 0b51c24 commit 5e819fb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions admin/cliupgrade.php
Expand Up @@ -1029,10 +1029,6 @@
} else if (!update_capabilities()) {
console_write(STDERR,'Had trouble upgrading the core capabilities for the Roles System','',false);
}
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');
}
if (set_config("version", $version)) {
remove_dir($CFG->dataroot . '/cache', true); // flush cache
notify($strdatabasesuccess, "green");
Expand Down

0 comments on commit 5e819fb

Please sign in to comment.