MDL-13483 found two more native php mail() commands

This commit is contained in:
skodak
2008-02-25 14:03:53 +00:00
parent 3fa7bee5ce
commit c5b4af2e5d
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ global $HTTPSPAGEREQUIRED;
echo '</td></tr></table>';
echo '</body></html>';
if (!empty($CFG->emailconnectionerrorsto)) {
if (empty($CFG->noemailever) and !empty($CFG->emailconnectionerrorsto)) {
mail($CFG->emailconnectionerrorsto,
'WARNING: Database connection error: '.$CFG->wwwroot,
'Connection error: '.$CFG->wwwroot);