diff --git a/mod/data/db/install.xml b/mod/data/db/install.xml index a37bbb68bfe..c4a5c2c0fce 100644 --- a/mod/data/db/install.xml +++ b/mod/data/db/install.xml @@ -1,5 +1,5 @@ - @@ -107,4 +107,4 @@ - \ No newline at end of file + diff --git a/mod/data/db/upgrade.php b/mod/data/db/upgrade.php index 02aa8f8810a..c5251ea3cc2 100644 --- a/mod/data/db/upgrade.php +++ b/mod/data/db/upgrade.php @@ -137,7 +137,7 @@ function xmldb_data_upgrade($oldversion) { // Moodle v2.8.0 release upgrade line. // Put any upgrade step following this. - if ($oldversion < 2015022600) { + if ($oldversion < 2015030900) { // Define field required to be added to data_fields. $table = new xmldb_table('data_fields'); $field = new xmldb_field('required', XMLDB_TYPE_INTEGER, '1', null, XMLDB_NOTNULL, null, '0', 'description'); @@ -147,7 +147,7 @@ function xmldb_data_upgrade($oldversion) { $dbman->add_field($table, $field); } - upgrade_mod_savepoint(true, 2015022600, 'data'); + upgrade_mod_savepoint(true, 2015030900, 'data'); } return true; diff --git a/mod/data/version.php b/mod/data/version.php index 1f2c3511a9e..bb795621df2 100644 --- a/mod/data/version.php +++ b/mod/data/version.php @@ -24,7 +24,7 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2015022600; // The current module version (Date: YYYYMMDDXX) +$plugin->version = 2015030900; // The current module version (Date: YYYYMMDDXX) $plugin->requires = 2014110400; // Requires this Moodle version $plugin->component = 'mod_data'; // Full name of the plugin (used for diagnostics) $plugin->cron = 0;