Skip to content

Commit

Permalink
MDL-18807, MDL-20890 fixed notices
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Nov 18, 2009
1 parent 5701efe commit b787618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit b787618

Please sign in to comment.