MDL-13483 found two more native php mail() commands; merged from MOODLE_19_STABLE

This commit is contained in:
skodak
2008-02-25 14:05:06 +00:00
parent 42f50aec59
commit 585385278c
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);