From 4f5bcf2eca221d02795efc247d975e0c79242899 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Thu, 30 May 2013 13:40:28 +0800 Subject: [PATCH] MDL-39936 upgrade: 2.5.0 line incorrectly positioned --- lib/db/upgrade.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index 64ecd3bbb0c..8b2c4076e65 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -2139,6 +2139,9 @@ function xmldb_main_upgrade($oldversion) { upgrade_main_savepoint(true, 2013042300.00); } + // Moodle v2.5.0 release upgrade line. + // Put any upgrade step following this. + if ($oldversion < 2013051400.01) { // Fix incorrect cc-nc url. Unfortunately the license 'plugins' do // not give a mechanism to do this. @@ -2160,9 +2163,5 @@ function xmldb_main_upgrade($oldversion) { upgrade_main_savepoint(true, 2013051400.01); } - // Moodle v2.5.0 release upgrade line. - // Put any upgrade step following this. - - return true; }