From: Aaron Schulz Date: Thu, 11 Mar 2010 21:25:33 +0000 (+0000) Subject: Fixed blockip log excerpt permission check (bug 22809). Resulted in excess "all publi... X-Git-Tag: 1.31.0-rc.0~37483 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=60df5636ccae6ce82921a37d8213ecd13840ed6c;p=lhc%2Fweb%2Fwiklou.git Fixed blockip log excerpt permission check (bug 22809). Resulted in excess "all public logs" excerpt. --- diff --git a/includes/specials/SpecialBlockip.php b/includes/specials/SpecialBlockip.php index 7e2a634015..316db3606f 100644 --- a/includes/specials/SpecialBlockip.php +++ b/includes/specials/SpecialBlockip.php @@ -642,7 +642,7 @@ class IPBlockForm { ); // Add suppression block entries if allowed - if( $wgUser->isAllowed( 'hideuser' ) ) { + if( $wgUser->isAllowed( 'suppressionlog' ) ) { LogEventsList::showLogExtract( $out, 'suppress', $title->getPrefixedText(), '', array( 'lim' => 10,