MDL-38378 Take rid of harcoded db prefix and bump.
This commit is contained in:
+2
-2
@@ -1612,7 +1612,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 affected versions.
|
||||
if ($oldversion >= 2012062504.08 && $oldversion < 2012062504.11) {
|
||||
if ($oldversion >= 2012062504.08 && $oldversion < 2012062504.13) {
|
||||
// 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:
|
||||
@@ -1625,7 +1625,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
|
||||
|
||||
+2
-2
@@ -30,11 +30,11 @@
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
|
||||
$version = 2012120301.16; // 20121203 = branching date YYYYMMDD - do not modify!
|
||||
$version = 2012120301.17; // 20121203 = branching date YYYYMMDD - do not modify!
|
||||
// RR = release increments - 00 in DEV branches
|
||||
// .XX = incremental changes
|
||||
|
||||
$release = '2.4.1+ (Build: 20130307)'; // Human-friendly version name
|
||||
$release = '2.4.1+ (Build: 20130308)'; // Human-friendly version name
|
||||
|
||||
$branch = '24'; // this version's branch
|
||||
$maturity = MATURITY_STABLE; // this version's maturity level
|
||||
|
||||
Reference in New Issue
Block a user