mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-14649 fixed cli upgrade too
This commit is contained in:
parent
0b51c247f0
commit
5e819fb75b
1 changed files with 0 additions and 4 deletions
|
@ -1029,10 +1029,6 @@ if ( file_exists(dirname(dirname(__FILE__)) . '/config.php')) {
|
||||||
} else if (!update_capabilities()) {
|
} else if (!update_capabilities()) {
|
||||||
console_write(STDERR,'Had trouble upgrading the core capabilities for the Roles System','',false);
|
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)) {
|
if (set_config("version", $version)) {
|
||||||
remove_dir($CFG->dataroot . '/cache', true); // flush cache
|
remove_dir($CFG->dataroot . '/cache', true); // flush cache
|
||||||
notify($strdatabasesuccess, "green");
|
notify($strdatabasesuccess, "green");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue