Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-18807, MDL-20890 fixed notices

  • Loading branch information...
commit b787618265d21ef0ea093044d60d109912f331d4 1 parent 5701efe
Petr Skoda skodak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/db/upgrade.php
2  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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.