From fdb862df2cc075f616baaf12a74f8468ccf875ff Mon Sep 17 00:00:00 2001 From: Happy-melon Date: Wed, 23 Mar 2011 18:53:50 +0000 Subject: [PATCH] $wgUser->blockedBy() already returns a name, doesn't need to be passed through User::whoIs(). Probably something I broke at some point :D --- includes/OutputPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index de5b1523b3..a9e549a6c7 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1904,7 +1904,7 @@ class OutputPage { $this->setRobotPolicy( 'noindex,nofollow' ); $this->setArticleRelated( false ); - $name = User::whoIs( $wgUser->blockedBy() ); + $name = $wgUser->blockedBy(); $reason = $wgUser->blockedFor(); if( $reason == '' ) { $reason = wfMsg( 'blockednoreason' ); -- 2.20.1