diff --git a/lib/db/upgrade.php b/lib/db/upgrade.php index 0f2688e46db..09ea47dd0d9 100644 --- a/lib/db/upgrade.php +++ b/lib/db/upgrade.php @@ -1660,14 +1660,14 @@ function xmldb_main_upgrade($oldversion) { upgrade_main_savepoint(true, 2013021902.00); } - if ($oldversion < 2013022201.00) { - // Delete entries regarding invalid 'idnumber' option which breaks course. - $DB->delete_records('course_sections_avail_fields', array('userfield' => 'idnumber')); - $DB->delete_records('course_modules_avail_fields', array('userfield' => 'idnumber')); + if ($oldversion < 2013022600.00) { + // Delete entries regarding invalid 'interests' option which breaks course. + $DB->delete_records('course_sections_avail_fields', array('userfield' => 'interests')); + $DB->delete_records('course_modules_avail_fields', array('userfield' => 'interests')); // Clear course cache (will be rebuilt on first visit) in case of changes to these. rebuild_course_cache(0, true); - upgrade_main_savepoint(true, 2013022201.00); + upgrade_main_savepoint(true, 2013022600.00); } return true; diff --git a/version.php b/version.php index b4f828f7cd7..b72f5256acc 100644 --- a/version.php +++ b/version.php @@ -31,7 +31,7 @@ defined('MOODLE_INTERNAL') || die(); -$version = 2013022500.01; // YYYYMMDD = weekly release date of this DEV branch +$version = 2013022600.00; // YYYYMMDD = weekly release date of this DEV branch // RR = release increments - 00 in DEV branches // .XX = incremental changes