r37423 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37422‎ | r37423 | r37424 >
Date:17:49, 9 July 2008
Author:brion
Status:old
Tags:
Comment:
Revert the rest of r37393 -- appears to be debugging stuff accidentally committed
Modified paths:
  • /trunk/phase3/includes/UserMailer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/UserMailer.php
@@ -193,7 +193,6 @@
194194 }
195195 } else {
196196 $sent = mail( $to->toString(), wfQuotedPrintable( $subject ), $body, $headers );
197 - print "RESULT: $sent.";
198197 }
199198 } else {
200199 $wgErrorString = 'PHP is not configured to send mail';
@@ -223,7 +222,7 @@
224223 */
225224 static function errorHandler( $code, $string ) {
226225 global $wgErrorString;
227 - $wgErrorString = preg_replace( '/^mail\(\)(\s*\[.*?\])?: /', '', $string . "XXXXXXXXXXXXXXXXXX");
 226+ $wgErrorString = preg_replace( '/^mail\(\)(\s*\[.*?\])?: /', '', $string );
228227 }
229228
230229 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r37393improved integration into category bar. Note: options is not functional unti...daniel15:05, 9 July 2008

Status & tagging log