From: Brion Vibber Date: Wed, 9 Jul 2008 17:49:51 +0000 (+0000) Subject: Revert the rest of r37393 -- appears to be debugging stuff accidentally committed X-Git-Tag: 1.31.0-rc.0~46600 X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=commitdiff_plain;h=bbe8578150f2c4325cdd8ed75372daa38b4cc74d;p=lhc%2Fweb%2Fwiklou.git Revert the rest of r37393 -- appears to be debugging stuff accidentally committed --- diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 0066a71192..89753f2a54 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -193,7 +193,6 @@ class UserMailer { } } else { $sent = mail( $to->toString(), wfQuotedPrintable( $subject ), $body, $headers ); - print "RESULT: $sent."; } } else { $wgErrorString = 'PHP is not configured to send mail'; @@ -223,7 +222,7 @@ class UserMailer { */ static function errorHandler( $code, $string ) { global $wgErrorString; - $wgErrorString = preg_replace( '/^mail\(\)(\s*\[.*?\])?: /', '', $string . "XXXXXXXXXXXXXXXXXX"); + $wgErrorString = preg_replace( '/^mail\(\)(\s*\[.*?\])?: /', '', $string ); } /**