From d3dac400199e3154591d35bfcfd825f0fc10f398 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Wed, 11 Feb 2015 16:18:06 +0800 Subject: [PATCH] MDL-48894 core_registration: Fixing version value --- lib/db/install.xml | 6 +++--- lib/db/upgrade.php | 6 +++--- version.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/db/install.xml b/lib/db/install.xml index b82d64e4cbd..58158267513 100644 --- a/lib/db/install.xml +++ b/lib/db/install.xml @@ -1,5 +1,5 @@ - @@ -2663,7 +2663,7 @@ - + @@ -3096,4 +3096,4 @@ - \ No newline at end of file + diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index d74c4c4e400..2b03cf69b5e 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -4162,11 +4162,11 @@ function xmldb_main_upgrade($oldversion) { upgrade_main_savepoint(true, 2015012600.01); } - if ($oldversion < 2015012900.01) { + if ($oldversion < 2015021100.00) { // Define field timemodified to be added to registration_hubs. $table = new xmldb_table('registration_hubs'); - $field = new xmldb_field('timemodified', XMLDB_TYPE_INTEGER, '10', null, null, null, '0', 'secret'); + $field = new xmldb_field('timemodified', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, null, '0', 'secret'); // Conditionally launch add field timemodified. if (!$dbman->field_exists($table, $field)) { @@ -4174,7 +4174,7 @@ function xmldb_main_upgrade($oldversion) { } // Main savepoint reached. - upgrade_main_savepoint(true, 2015012900.01); + upgrade_main_savepoint(true, 2015021100.00); } return true; diff --git a/version.php b/version.php index 72c17efbdfc..b205f7f1c8b 100644 --- a/version.php +++ b/version.php @@ -29,7 +29,7 @@ defined('MOODLE_INTERNAL') || die(); -$version = 2015021000.00; // YYYYMMDD = weekly release date of this DEV branch. +$version = 2015021100.00; // YYYYMMDD = weekly release date of this DEV branch. // RR = release increments - 00 in DEV branches. // .XX = incremental changes.