From 041728e24bf7e5f62637bfaa581b53992aa9276f Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sat, 16 Nov 2013 22:01:42 +0100 Subject: [PATCH] Remove unused local variables Change-Id: I4162d45e68d65347108f94b3d80bc146f3393c1b --- includes/api/ApiEditPage.php | 1 - includes/api/ApiQueryFileRepoInfo.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/includes/api/ApiEditPage.php b/includes/api/ApiEditPage.php index daa5d1fa6b..4e1c871142 100644 --- a/includes/api/ApiEditPage.php +++ b/includes/api/ApiEditPage.php @@ -348,7 +348,6 @@ class ApiEditPage extends ApiBase { if ( !is_null( $params['section'] ) && $contentHandler->supportsSections() && $titleObj->exists() ) { - $sectionTitle = ''; // If sectiontitle is set, use it, otherwise use the summary as the section title (for // backwards compatibility with old forms/bots). if ( $ep->sectiontitle !== '' ) { diff --git a/includes/api/ApiQueryFileRepoInfo.php b/includes/api/ApiQueryFileRepoInfo.php index 3d4d38f722..da7e0544b5 100644 --- a/includes/api/ApiQueryFileRepoInfo.php +++ b/includes/api/ApiQueryFileRepoInfo.php @@ -93,8 +93,6 @@ class ApiQueryFileRepoInfo extends ApiQueryBase { } public function getParamDescription() { - $p = $this->getModulePrefix(); - return array( 'prop' => array( 'Which repository properties to get (there may be more available on some wikis):', -- 2.20.1