Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit d461ecf7729dcb9908f3b0727cc97debee1823c2 1 parent 2ab8628
@stronk7 stronk7 authored
Showing with 5 additions and 5 deletions.
  1. +3 −3 lib/db/upgrade.php
  2. +2 −2 version.php
View
6 lib/db/upgrade.php
@@ -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;
View
4 version.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.