From: martinlanghoff <martinlanghoff>
Date: Wed, 19 Sep 2007 07:53:00 +0000 (+0000)
Subject: accesslib upgrade: remove stray build_context_rel(), force path rebuild
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dd14fecfa4c2e086f437ac7609883549605ba856;p=moodle.git

accesslib upgrade: remove stray build_context_rel(), force path rebuild

Fixes problems during upgrades from 1.7x/1.8.x to mdl19-perf.
---

diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php
index cd1136aa0e..da8de77f39 100644
--- a/lib/db/upgrade.php
+++ b/lib/db/upgrade.php
@@ -1558,7 +1558,7 @@ function xmldb_main_upgrade($oldversion=0) {
     /// MDL-10679, context_rel clean up
     if ($result && $oldversion < 2007080200) {
         delete_records('context_rel');
-        build_context_rel();
+        /// /deprecated and gone / build_context_rel();
     }
 
     if ($result && $oldversion < 2007080202) {