]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-17787 removed unused health test and cleanup up config table - MoodleTest cookie...
authorskodak <skodak>
Mon, 5 Jan 2009 22:45:06 +0000 (22:45 +0000)
committerskodak <skodak>
Mon, 5 Jan 2009 22:45:06 +0000 (22:45 +0000)
lib/db/upgrade.php

index 37551b9d66d259041e756b867b829b5b8bf1f5e4..0f455d24dd01e23feb0af7f982162940b0c02e5f 100644 (file)
@@ -1210,6 +1210,11 @@ function xmldb_main_upgrade($oldversion) {
         upgrade_main_savepoint($result, 2008123101);
     }
 
+    if ($result && $oldversion < 2009010500) {
+    /// clean up config table a bit
+        unset_config('session_error_counter');
+    }
+
     return $result;
 }