http://www.mediawiki.org/wiki/Special:Code/MediaWiki/84622

Revision: 84622
Author:   happy-melon
Date:     2011-03-23 18:53:50 +0000 (Wed, 23 Mar 2011)
Log Message:
-----------
$wgUser->blockedBy() already returns a name, doesn't need to be passed through 
User::whoIs().  Probably something I broke at some point :D

Modified Paths:
--------------
    trunk/phase3/includes/OutputPage.php

Modified: trunk/phase3/includes/OutputPage.php
===================================================================
--- trunk/phase3/includes/OutputPage.php        2011-03-23 18:49:52 UTC (rev 
84621)
+++ trunk/phase3/includes/OutputPage.php        2011-03-23 18:53:50 UTC (rev 
84622)
@@ -1904,7 +1904,7 @@
                $this->setRobotPolicy( 'noindex,nofollow' );
                $this->setArticleRelated( false );
 
-               $name = User::whoIs( $wgUser->blockedBy() );
+               $name = $wgUser->blockedBy();
                $reason = $wgUser->blockedFor();
                if( $reason == '' ) {
                        $reason = wfMsg( 'blockednoreason' );


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to