mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-30604 Added 2 missing messages andd deleting an incorrect one
This commit is contained in:
parent
46f2a9366a
commit
08416e72e3
@ -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;
|
||||
}
|
||||
|
@ -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));
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user