From 8231ba19322ffcd0253b713c0328229d1ddd840d Mon Sep 17 00:00:00 2001 From: ikawhero Date: Mon, 30 Jun 2008 06:08:57 +0000 Subject: [PATCH] MDL-13000 minor fix merged from MOODLE_19_STABLE --- lib/locallib.php | 6 ++++++ 1 file changed, 6 insertions(+) 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(); } -- 2.39.5