MDL-13000 - adding a missing call to update_capabilities() to process

local/db/access.php on an upgrade
This commit is contained in:
ikawhero
2008-06-30 06:01:13 +00:00
parent ed77e5710f
commit ccfbebff25
+6
View File
@@ -159,6 +159,12 @@ function upgrade_local_db($continueto) {
upgrade_log_start();
notify('WARNING!!! The local version you are using is OLDER than the version that made these databases!');
}
/// Capabilities
if (!update_capabilities('local')) {
error('Could not set up the capabilities for local!');
}
upgrade_log_finish();
}