wtf, who made this typo?
authorMark A. Hershberger <mah@users.mediawiki.org>
Thu, 28 Jul 2011 19:44:53 +0000 (19:44 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Thu, 28 Jul 2011 19:44:53 +0000 (19:44 +0000)
includes/UserMailer.php

index 1584716..d14b06e 100644 (file)
@@ -192,7 +192,7 @@ class UserMailer {
                $headers['X-Mailer'] = 'MediaWiki mailer';
                $headers['From'] = $from->toString();
 
-               $ret = wfRunHooks( 'AlternateUserMailer', array( $this, $headers, $to, $from, $subject, $body, $replyto, $contentType ) ) ) {
+               $ret = wfRunHooks( 'AlternateUserMailer', array( $this, $headers, $to, $from, $subject, $body, $replyto, $contentType ) );
                if ( $ret === false ) {
                        return Status::newGood();
                } else if ( $ret != true ) {