Permalink
Browse files

MDL-18807, MDL-20890 fixed notices

  • Loading branch information...
1 parent 5701efe commit b787618265d21ef0ea093044d60d109912f331d4 @skodak skodak committed Nov 18, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/db/upgrade.php
View
@@ -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);
}

0 comments on commit b787618

Please sign in to comment.