From 1870f24166a96871245910c35cbe77578cb7ecb7 Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 5 Jan 2009 22:45:06 +0000 Subject: [PATCH] MDL-17787 removed unused health test and cleanup up config table - MoodleTest cookie not used anymore --- lib/db/upgrade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index 37551b9d66..0f455d24dd 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -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; } -- 2.39.5