Remove unused local variables
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sat, 16 Nov 2013 21:01:42 +0000 (22:01 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 17 Nov 2013 15:54:19 +0000 (16:54 +0100)
Change-Id: I4162d45e68d65347108f94b3d80bc146f3393c1b

includes/api/ApiEditPage.php
includes/api/ApiQueryFileRepoInfo.php

index daa5d1f..4e1c871 100644 (file)
@@ -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 !== '' ) {
index 3d4d38f..da7e054 100644 (file)
@@ -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):',