diff --git a/lib/locallib.php b/lib/locallib.php index 5488369aa05..46e254f61eb 100644 --- a/lib/locallib.php +++ b/lib/locallib.php @@ -175,6 +175,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(); }