From: Chad Horohoe Date: Tue, 19 May 2009 16:10:36 +0000 (+0000) Subject: Remove the globals. X-Git-Tag: 1.31.0-rc.0~41743 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=3b632e09aca414a4929647c29cb0a0db03c647dc;p=lhc%2Fweb%2Fwiklou.git Remove the globals. --- diff --git a/includes/specials/SpecialBlockip.php b/includes/specials/SpecialBlockip.php index 00c2e18f9d..9d5dd296b4 100644 --- a/includes/specials/SpecialBlockip.php +++ b/includes/specials/SpecialBlockip.php @@ -46,7 +46,7 @@ class IPBlockForm { const HIDEUSER_CONTRIBLIMIT = 1000; public function __construct( $par ) { - global $wgRequest, $wgUser, $wgBlockAllowsUTEdit, $wgSysopEmailBans, $wgEnableUserEmail; + global $wgRequest, $wgUser, $wgBlockAllowsUTEdit; $this->BlockAddress = $wgRequest->getVal( 'wpBlockAddress', $wgRequest->getVal( 'ip', $par ) ); $this->BlockAddress = strtr( $this->BlockAddress, '_', ' ' );