MDL-50851 upgrade: dan *REALLY* *REALLY* sucks at integrating
authorDan Poltawski <dan@moodle.com>
Wed, 13 Jan 2016 12:00:11 +0000 (12:00 +0000)
committerDan Poltawski <dan@moodle.com>
Wed, 13 Jan 2016 12:01:33 +0000 (12:01 +0000)
lib/db/upgrade.php
version.php

index 9784a5d..a88ad10 100644 (file)
@@ -4609,7 +4609,7 @@ function xmldb_main_upgrade($oldversion) {
     // Moodle v3.0.0 release upgrade line.
     // Put any upgrade step following this.
 
-    if ($oldversion < 2016011100.00) {
+    if ($oldversion < 2016011300.01) {
 
         // This is a big upgrade script. We create new table tag_coll and the field
         // tag.tagcollid pointing to it.
@@ -4654,10 +4654,10 @@ function xmldb_main_upgrade($oldversion) {
         }
 
         // Main savepoint reached.
-        upgrade_main_savepoint(true, 2016011100.00);
+        upgrade_main_savepoint(true, 2016011300.01);
     }
 
-    if ($oldversion < 2016011100.02) {
+    if ($oldversion < 2016011300.02) {
         // Create a default tag collection if not exists and update the field tag.tagcollid to point to it.
         if (!$tcid = $DB->get_field_sql('SELECT id FROM {tag_coll} ORDER BY isdefault DESC, sortorder, id', null,
                 IGNORE_MULTIPLE)) {
@@ -4694,10 +4694,10 @@ function xmldb_main_upgrade($oldversion) {
         }
 
         // Main savepoint reached.
-        upgrade_main_savepoint(true, 2016011100.02);
+        upgrade_main_savepoint(true, 2016011300.02);
     }
 
-    if ($oldversion < 2016011100.03) {
+    if ($oldversion < 2016011300.03) {
 
         // Define table tag_area to be created.
         $table = new xmldb_table('tag_area');
@@ -4724,10 +4724,10 @@ function xmldb_main_upgrade($oldversion) {
         }
 
         // Main savepoint reached.
-        upgrade_main_savepoint(true, 2016011100.03);
+        upgrade_main_savepoint(true, 2016011300.03);
     }
 
-    if ($oldversion < 2016011100.12) {
+    if ($oldversion < 2016011300.04) {
 
         // Define index itemtype-itemid-tagid-tiuserid (unique) to be dropped form tag_instance.
         $table = new xmldb_table('tag_instance');
@@ -4740,10 +4740,10 @@ function xmldb_main_upgrade($oldversion) {
         }
 
         // Main savepoint reached.
-        upgrade_main_savepoint(true, 2016011100.12);
+        upgrade_main_savepoint(true, 2016011300.04);
     }
 
-    if ($oldversion < 2016011100.13) {
+    if ($oldversion < 2016011300.05) {
 
         $DB->execute("UPDATE {tag_instance} SET component = ? WHERE component IS NULL", array(''));
 
@@ -4762,10 +4762,10 @@ function xmldb_main_upgrade($oldversion) {
         $dbman->change_field_type($table, $field);
 
         // Main savepoint reached.
-        upgrade_main_savepoint(true, 2016011100.13);
+        upgrade_main_savepoint(true, 2016011300.05);
     }
 
-    if ($oldversion < 2016011100.14) {
+    if ($oldversion < 2016011300.06) {
 
         // Define index taggeditem (unique) to be added to tag_instance.
         $table = new xmldb_table('tag_instance');
@@ -4777,10 +4777,10 @@ function xmldb_main_upgrade($oldversion) {
         }
 
         // Main savepoint reached.
-        upgrade_main_savepoint(true, 2016011100.14);
+        upgrade_main_savepoint(true, 2016011300.06);
     }
 
-    if ($oldversion < 2016011100.15) {
+    if ($oldversion < 2016011300.07) {
 
         // Define index taglookup (not unique) to be added to tag_instance.
         $table = new xmldb_table('tag_instance');
@@ -4792,10 +4792,10 @@ function xmldb_main_upgrade($oldversion) {
         }
 
         // Main savepoint reached.
-        upgrade_main_savepoint(true, 2016011100.15);
+        upgrade_main_savepoint(true, 2016011300.07);
     }
 
-    if ($oldversion < 2016011200.00) {
+    if ($oldversion < 2016011301.00) {
 
         // Force uninstall of deleted tool.
         if (!file_exists("$CFG->dirroot/webservice/amf")) {
@@ -4804,7 +4804,7 @@ function xmldb_main_upgrade($oldversion) {
             // Remove all other associated config.
             unset_all_config_for_plugin('webservice_amf');
         }
-        upgrade_main_savepoint(true, 2016011200.00);
+        upgrade_main_savepoint(true, 2016011301.00);
     }
 
     return true;
index 9c41909..698f4ff 100644 (file)
@@ -29,7 +29,7 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$version  = 2016011201.00;              // YYYYMMDD      = weekly release date of this DEV branch.
+$version  = 2016011301.00;              // YYYYMMDD      = weekly release date of this DEV branch.
                                         //         RR    = release increments - 00 in DEV branches.
                                         //           .XX = incremental changes.