From: Reedy Date: Sat, 20 Feb 2016 20:22:56 +0000 (+0000) Subject: Remove some unused variables X-Git-Tag: 1.31.0-rc.0~7878^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=f8a58fa67efade327656d6c62abfd8ea7b32a7cd;p=lhc%2Fweb%2Fwiklou.git Remove some unused variables Change-Id: Ia3a290555f06c564c063591710380367a04cb1cc --- diff --git a/includes/api/ApiMergeHistory.php b/includes/api/ApiMergeHistory.php index 72847ea55e..276f1c0ebe 100644 --- a/includes/api/ApiMergeHistory.php +++ b/includes/api/ApiMergeHistory.php @@ -33,7 +33,6 @@ class ApiMergeHistory extends ApiBase { public function execute() { $this->useTransactionalTimeLimit(); - $user = $this->getUser(); $params = $this->extractRequestParams(); $this->requireOnlyOneParameter( $params, 'from', 'fromid' ); diff --git a/includes/api/ApiQueryMyStashedFiles.php b/includes/api/ApiQueryMyStashedFiles.php index e609e2decc..9be5849d34 100644 --- a/includes/api/ApiQueryMyStashedFiles.php +++ b/includes/api/ApiQueryMyStashedFiles.php @@ -42,7 +42,6 @@ class ApiQueryMyStashedFiles extends ApiQueryBase { // Note: If user is logged in but cannot upload, they can still see // the list of stashed uploads...but it will probably be empty. - $db = $this->getDB(); $params = $this->extractRequestParams(); $this->addTables( 'uploadstash' ); diff --git a/includes/api/ApiQueryPageProps.php b/includes/api/ApiQueryPageProps.php index b7d90d87c7..de1df34770 100644 --- a/includes/api/ApiQueryPageProps.php +++ b/includes/api/ApiQueryPageProps.php @@ -60,7 +60,6 @@ class ApiQueryPageProps extends ApiQueryBase { } $pageProps = PageProps::getInstance(); - $props = []; $result = $this->getResult(); if ( $this->params['prop'] ) { $propnames = $this->params['prop'];