From 8b8d146acf6a38d52538f2cafa2524d7927471e6 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Sat, 1 Dec 2018 17:53:12 +0100 Subject: [PATCH] SpecialRevisiondelete: Do not pass unused parameter Found by PHPStan. Change-Id: Iba7020f6bf793e525b4d82c286064d05609eef2f --- includes/specials/SpecialRevisiondelete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index 7661f28694..50f3710143 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -205,7 +205,7 @@ class SpecialRevisionDelete extends UnlistedSpecialPage { # Either submit or create our form if ( $this->mIsAllowed && $this->submitClicked ) { - $this->submit( $request ); + $this->submit(); } else { $this->showForm(); } -- 2.20.1