From: umherirrender Date: Thu, 30 Oct 2014 16:44:03 +0000 (+0100) Subject: Remove unused globals in the web api X-Git-Tag: 1.31.0-rc.0~13356 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/supprimer.php?a=commitdiff_plain;h=adf8cf6da18d575fd77eabcf6146e56f7e56f993;p=lhc%2Fweb%2Fwiklou.git Remove unused globals in the web api Change-Id: I9ae428ed9f14f95c649953f62d729a9a9be7869b --- 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();