Skip to content
Browse files

MDL-30604 Added 2 missing messages andd deleting an incorrect one

  • Loading branch information...
1 parent bc3801c commit 4dbdc834ffc4adf09c4ae104b9024f61388a2c53 @stronk7 stronk7 committed Dec 9, 2011
Showing with 5 additions and 3 deletions.
  1. +2 −0 enrol/flatfile/db/upgrade.php
  2. +3 −0 enrol/guest/db/upgrade.php
  3. +0 −3 question/upgrade.php
View
2 enrol/flatfile/db/upgrade.php
@@ -62,6 +62,8 @@ function xmldb_enrol_flatfile_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2010091400, 'enrol', 'flatfile');
}
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
return $result;
}
View
3 enrol/guest/db/upgrade.php
@@ -30,6 +30,9 @@ function xmldb_enrol_guest_upgrade($oldversion) {
$dbman = $DB->get_manager();
+ // Moodle v2.2.0 release upgrade line
+ // Put any upgrade step following this
+
if ($oldversion < 2011112901) {
// convert all null passwords to empty strings
$DB->set_field('enrol', 'password', '', array('enrol'=>'guest', 'password'=>null));
View
3 question/upgrade.php
@@ -41,8 +41,5 @@ function question_fix_random_question_parents() {
global $CFG, $DB;
$DB->execute("UPDATE {question} SET parent = id WHERE qtype = 'random' AND parent <> id");
- // Moodle v2.2.0 release upgrade line
- // Put any upgrade step following this
-
return true;
}

0 comments on commit 4dbdc83

Please sign in to comment.
Something went wrong with that request. Please try again.