Skip to content
Browse files

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

local/db/access.php on an upgrade
  • Loading branch information...
1 parent ed77e57 commit ccfbebff25bf0f70f8d531dbab23c3e486584315 ikawhero committed Jun 30, 2008
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/locallib.php
View
6 lib/locallib.php
@@ -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();
}

0 comments on commit ccfbebf

Please sign in to comment.
Something went wrong with that request. Please try again.