From bbe8578150f2c4325cdd8ed75372daa38b4cc74d Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 9 Jul 2008 17:49:51 +0000 Subject: [PATCH] Revert the rest of r37393 -- appears to be debugging stuff accidentally committed --- includes/UserMailer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ); } /** -- 2.20.1