From: skodak Date: Mon, 5 Jan 2009 22:45:06 +0000 (+0000) Subject: MDL-17787 removed unused health test and cleanup up config table - MoodleTest cookie... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1870f24166a96871245910c35cbe77578cb7ecb7;p=moodle.git MDL-17787 removed unused health test and cleanup up config table - MoodleTest cookie not used anymore --- 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; }