From: stronk7 Date: Tue, 27 Apr 2004 17:21:02 +0000 (+0000) Subject: As changes to version are comming very often, I save this X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=19a40309249a904eccc3cffb2e83e6222bb3885b;p=moodle.git As changes to version are comming very often, I save this now. To be used in rss feeds... --- diff --git a/lib/db/mysql.php b/lib/db/mysql.php index ade56c4255..a44a327843 100644 --- a/lib/db/mysql.php +++ b/lib/db/mysql.php @@ -744,6 +744,10 @@ function main_upgrade($oldversion=0) { table_column("event", "", "format", "integer", "4", "unsigned", "0", "not null", "description"); } + if ($oldversion < 2004042703) { + set_config("enablerssfeeds",0); + } + return $result; } diff --git a/lib/db/postgres7.php b/lib/db/postgres7.php index a21c219b54..08ea6f0dcc 100644 --- a/lib/db/postgres7.php +++ b/lib/db/postgres7.php @@ -489,6 +489,10 @@ function main_upgrade($oldversion=0) { table_column("event", "", "format", "integer", "4", "unsigned", "0", "not null", "description"); } + if ($oldversion < 2004042703) { + set_config("enablerssfeeds",0); + } + return $result; } diff --git a/version.php b/version.php index 6af0b071a9..d165d60cbb 100644 --- a/version.php +++ b/version.php @@ -5,7 +5,7 @@ // database to determine whether upgrades should // be performed (see lib/db/*.php) -$version = 2004042702; // The current version is a date (YYYYMMDDXX) +$version = 2004042703; // The current version is a date (YYYYMMDDXX) $release = "1.3 development"; // User-friendly version number