Skip to content

Commit

Permalink
MDL-30604 Added 2 missing messages andd deleting an incorrect one
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Dec 9, 2011
1 parent 46f2a93 commit 08416e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions enrol/flatfile/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
3 changes: 3 additions & 0 deletions enrol/guest/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
3 changes: 0 additions & 3 deletions question/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 08416e7

Please sign in to comment.