MDL-38378 Take rid of harcoded db prefix and bump.

This commit is contained in:
Eloy Lafuente (stronk7)
2013-03-08 00:20:28 +01:00
parent 2ab86289de
commit d461ecf772
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -1064,7 +1064,7 @@ function xmldb_main_upgrade($oldversion) {
// This is checking to see if the site has been running a specific version with a bug in it
// because this upgrade step is slow and is only needed if the site has been running with the previous patch installed.
// Note the conditions order in not the natual one for intervals, but that way the CI servers will be happy. Ugly swap.
if ($oldversion < 2012062504.11 && $oldversion >= 2012062504.08) {
if ($oldversion < 2012062504.13 && $oldversion >= 2012062504.08) {
// Retrieve the list of course_sections as a recordset to save memory.
// This is to fix a regression caused by MDL-37939.
// In this case the upgrade step is fixing records where:
@@ -1077,7 +1077,7 @@ function xmldb_main_upgrade($oldversion) {
$sequenceconcat = $DB->sql_concat("','", 's.sequence', "','");
$moduleconcat = $DB->sql_concat("'%,'", 'cm.id', "',%'");
$sql = 'SELECT s2.id, s2.course, s2.sequence
FROM mdl_course_sections s2
FROM {course_sections} s2
JOIN(
SELECT DISTINCT s.id
FROM
@@ -1123,7 +1123,7 @@ function xmldb_main_upgrade($oldversion) {
$coursesections->close();
// Main savepoint reached.
upgrade_main_savepoint(true, 2012062504.11);
upgrade_main_savepoint(true, 2012062504.13);
}
return true;
+2 -2
View File
@@ -30,11 +30,11 @@
defined('MOODLE_INTERNAL') || die();
$version = 2012062504.12; // YYYYMMDD = weekly release date of this DEV branch
$version = 2012062504.13; // YYYYMMDD = weekly release date of this DEV branch
// RR = release increments - 00 in DEV branches
// .XX = incremental changes
$release = '2.3.4+ (Build: 20130307)'; // Human-friendly version name
$release = '2.3.4+ (Build: 20130308)'; // Human-friendly version name
$branch = '23'; // this version's branch
$maturity = MATURITY_STABLE; // this version's maturity level