MDL-18807, MDL-20890 fixed notices

This commit is contained in:
Petr Skoda
2009-11-18 22:35:06 +00:00
parent 5701efe8da
commit b787618265
+1 -1
View File
@@ -819,7 +819,7 @@ function xmldb_main_upgrade($oldversion=0) {
$preference->value = '1';
insert_record('user_preferences', $preference);
}
$adminuser->maildisplay = 0; // do not use return email to self, it might actually help emails to get through and prevents notices
// Message them with the notice about upgrading
email_to_user($adminuser, $adminuser, $messagesubject, $message);
}