Move wfDebug() call about use of PHP mail() function to _before_ we mess around with...
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 18 May 2009 19:08:53 +0000 (19:08 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 18 May 2009 19:08:53 +0000 (19:08 +0000)
commit74016b75655c1d9805255f90166816eabac514d9
tree4a776181c1f7e33dd7dfdbead185928150601457
parentcccbd370d47ac70bf8812c0f42ae9c892232eee1
Move wfDebug() call about use of PHP mail() function to _before_ we mess around with warning/error reporting.
Previously, a failure to open the debug log file for writing would end up getting reported as a failure of mail delivery, even though we were successful.
It'll now fail silently (as it should) and won't interfere with the actual mail() call's error reporting.
includes/UserMailer.php