Index: trunk/phase3/includes/UserMailer.php |
— | — | @@ -193,7 +193,6 @@ |
194 | 194 | } |
195 | 195 | } else { |
196 | 196 | $sent = mail( $to->toString(), wfQuotedPrintable( $subject ), $body, $headers ); |
197 | | - print "RESULT: $sent."; |
198 | 197 | } |
199 | 198 | } else { |
200 | 199 | $wgErrorString = 'PHP is not configured to send mail'; |
— | — | @@ -223,7 +222,7 @@ |
224 | 223 | */ |
225 | 224 | static function errorHandler( $code, $string ) { |
226 | 225 | global $wgErrorString; |
227 | | - $wgErrorString = preg_replace( '/^mail\(\)(\s*\[.*?\])?: /', '', $string . "XXXXXXXXXXXXXXXXXX"); |
| 226 | + $wgErrorString = preg_replace( '/^mail\(\)(\s*\[.*?\])?: /', '', $string ); |
228 | 227 | } |
229 | 228 | |
230 | 229 | /** |