From: ikawhero Date: Mon, 30 Jun 2008 06:08:57 +0000 (+0000) Subject: MDL-13000 minor fix merged from MOODLE_19_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8231ba19322ffcd0253b713c0328229d1ddd840d;p=moodle.git MDL-13000 minor fix merged from MOODLE_19_STABLE --- diff --git a/lib/locallib.php b/lib/locallib.php index 5488369aa0..46e254f61e 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(); }