SpecialRevisiondelete: Do not pass unused parameter
authorJakub Vrana <jakub@vrana.cz>
Sat, 1 Dec 2018 16:53:12 +0000 (17:53 +0100)
committerLegoktm <legoktm@member.fsf.org>
Sun, 2 Dec 2018 00:01:04 +0000 (00:01 +0000)
Found by PHPStan.

Change-Id: Iba7020f6bf793e525b4d82c286064d05609eef2f

includes/specials/SpecialRevisiondelete.php

index 7661f28..50f3710 100644 (file)
@@ -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();
                }