From adf8cf6da18d575fd77eabcf6146e56f7e56f993 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Thu, 30 Oct 2014 17:44:03 +0100 Subject: [PATCH] Remove unused globals in the web api Change-Id: I9ae428ed9f14f95c649953f62d729a9a9be7869b --- includes/api/ApiHelp.php | 2 -- includes/api/ApiParamInfo.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/includes/api/ApiHelp.php b/includes/api/ApiHelp.php index b33b087e6d..5d46a07522 100644 --- a/includes/api/ApiHelp.php +++ b/includes/api/ApiHelp.php @@ -32,8 +32,6 @@ */ class ApiHelp extends ApiBase { public function execute() { - global $wgContLang; - $params = $this->extractRequestParams(); $modules = array(); diff --git a/includes/api/ApiParamInfo.php b/includes/api/ApiParamInfo.php index b1c092e0b7..17773a760c 100644 --- a/includes/api/ApiParamInfo.php +++ b/includes/api/ApiParamInfo.php @@ -37,8 +37,6 @@ class ApiParamInfo extends ApiBase { } public function execute() { - global $wgContLang; - // Get parameters $params = $this->extractRequestParams(); -- 2.20.1