r50775 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50774‎ | r50775 | r50776 >
Date:16:10, 19 May 2009
Author:demon
Status:ok
Tags:
Comment:
Remove the globals.
Modified paths:
  • /trunk/phase3/includes/specials/SpecialBlockip.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialBlockip.php
@@ -46,7 +46,7 @@
4747 const HIDEUSER_CONTRIBLIMIT = 1000;
4848
4949 public function __construct( $par ) {
50 - global $wgRequest, $wgUser, $wgBlockAllowsUTEdit, $wgSysopEmailBans, $wgEnableUserEmail;
 50+ global $wgRequest, $wgUser, $wgBlockAllowsUTEdit;
5151
5252 $this->BlockAddress = $wgRequest->getVal( 'wpBlockAddress', $wgRequest->getVal( 'ip', $par ) );
5353 $this->BlockAddress = strtr( $this->BlockAddress, '_', ' ' );

Status & tagging log