* No point passing sitename in parameter, as needs to be accompanied with grammar...
[lhc/web/wiklou.git] / includes / specials / Emailuser.php
index bf4eea7..4e7045d 100644 (file)
@@ -155,7 +155,7 @@ class EmailUserForm {
                $footerArgs[1] = $from->name;
                $footerArgs[2] = $to->name;
                $footerArgs[3] = $prefsTitle->getFullURL();
-               $this->text = $this->text . "\n" . wfMsg( 'emailuserfooter', $footerArgs );
+               $this->text = $this->text . "\n" . wfMsgExt( 'emailuserfooter', 'parsemag', $footerArgs );
                
                if( wfRunHooks( 'EmailUser', array( &$to, &$from, &$subject, &$this->text ) ) ) {
 
@@ -190,7 +190,7 @@ class EmailUserForm {
                        $mailResult = UserMailer::send( $to, $mailFrom, $subject, $this->text, $replyTo );
 
                        if( WikiError::isError( $mailResult ) ) {
-                               return $mailResult;                     
+                               return $mailResult;
                                
                        } else {