MDL-23502 fixed version info
authorPetr Skoda <skodak@moodle.org>
Sat, 31 Jul 2010 13:47:04 +0000 (13:47 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 31 Jul 2010 13:47:04 +0000 (13:47 +0000)
enrol/paypal/db/upgrade.php

index f04afc6..f1764f6 100644 (file)
@@ -25,6 +25,8 @@ function xmldb_enrol_paypal_upgrade($oldversion) {
 
     $dbman = $DB->get_manager();
 
+    //===== 1.9.0 upgrade line ======//
+
     // Add instanceid field to enrol_paypal table
     if ($oldversion < 2010071500) {
         $table = new xmldb_table('enrol_paypal');
@@ -36,8 +38,6 @@ function xmldb_enrol_paypal_upgrade($oldversion) {
         upgrade_plugin_savepoint(true, 2010071500, 'enrol', 'paypal');
     }
 
-    //===== 1.9.0 upgrade line ======//
-
 
     return true;
 }