From 3b632e09aca414a4929647c29cb0a0db03c647dc Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 19 May 2009 16:10:36 +0000 Subject: [PATCH] Remove the globals. --- includes/specials/SpecialBlockip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, '_', ' ' ); -- 2.20.1