dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61276a7
)
Revert the rest of r37393 -- appears to be debugging stuff accidentally committed
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 9 Jul 2008 17:49:51 +0000
(17:49 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 9 Jul 2008 17:49:51 +0000
(17:49 +0000)
includes/UserMailer.php
patch
|
blob
|
history
diff --git
a/includes/UserMailer.php
b/includes/UserMailer.php
index
0066a71
..
89753f2
100644
(file)
--- 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 );
}
/**