From: Derick Alangi Date: Tue, 2 Jul 2019 13:28:52 +0000 (+0100) Subject: API: Removed unused local variable `$p` from ApiQueryDeletedrevs X-Git-Tag: 1.34.0-rc.0~1211^2 X-Git-Url: http://git.cyclocoop.org/data/Luca_Pacioli_%28Gemaelde%29.jpeg?a=commitdiff_plain;h=e6e5ea4791927ffc6360830dd6150b777f2ffd61;p=lhc%2Fweb%2Fwiklou.git API: Removed unused local variable `$p` from ApiQueryDeletedrevs This local var was introduced in fdddf94 and usage of it removed in 4e6810e. This is no longer used so cleaned up. Change-Id: I2acf28b3a027284adbda70f50bee3c4a6b4a68b2 --- diff --git a/includes/api/ApiQueryDeletedrevs.php b/includes/api/ApiQueryDeletedrevs.php index 370a3fb8d4..91d86b9ff7 100644 --- a/includes/api/ApiQueryDeletedrevs.php +++ b/includes/api/ApiQueryDeletedrevs.php @@ -59,10 +59,6 @@ class ApiQueryDeletedrevs extends ApiQueryBase { $fld_token = isset( $prop['token'] ); $fld_tags = isset( $prop['tags'] ); - if ( isset( $prop['token'] ) ) { - $p = $this->getModulePrefix(); - } - // If we're in a mode that breaks the same-origin policy, no tokens can // be obtained if ( $this->lacksSameOriginSecurity() ) {