From 438f6d2925fe3c615467e743bbbbde5de6b9a76a Mon Sep 17 00:00:00 2001 From: Daniel Kinzler Date: Wed, 9 Jul 2008 15:05:25 +0000 Subject: [PATCH] improved integration into category bar. Note: options is not functional until SkinJoinCategoryLinks hook is implemented (merge pending) --- StartProfiler.php | 5 ++++- includes/UserMailer.php | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/StartProfiler.php b/StartProfiler.php index 3fcf69e6e5..2a351677b7 100644 --- a/StartProfiler.php +++ b/StartProfiler.php @@ -1,6 +1,9 @@ toString(), wfQuotedPrintable( $subject ), $body, $headers ); + print "RESULT: $sent."; } } else { $wgErrorString = 'PHP is not configured to send mail'; @@ -222,7 +223,7 @@ class UserMailer { */ static function errorHandler( $code, $string ) { global $wgErrorString; - $wgErrorString = preg_replace( '/^mail\(\)(\s*\[.*?\])?: /', '', $string ); + $wgErrorString = preg_replace( '/^mail\(\)(\s*\[.*?\])?: /', '', $string . "XXXXXXXXXXXXXXXXXX"); } /** -- 2.20.1