]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-13000 minor fix merged from MOODLE_19_STABLE
authorikawhero <ikawhero>
Mon, 30 Jun 2008 06:08:57 +0000 (06:08 +0000)
committerikawhero <ikawhero>
Mon, 30 Jun 2008 06:08:57 +0000 (06:08 +0000)
lib/locallib.php

index 5488369aa05dea1e154afceec12df33c6ff221c2..46e254f61ebae9983d3a07a349411c772c039dbd 100644 (file)
@@ -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();
 }