Revert the rest of r37393 -- appears to be debugging stuff accidentally committed
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 9 Jul 2008 17:49:51 +0000 (17:49 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 9 Jul 2008 17:49:51 +0000 (17:49 +0000)
includes/UserMailer.php

index 0066a71..89753f2 100644 (file)
@@ -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 );
        }
 
        /**