Merge "MarkRead: Remove redundant setAction()"

This commit is contained in:
jenkins-bot 2022-03-31 12:41:51 +00:00 committed by Gerrit Code Review
commit 9c14f7b821

View file

@ -100,10 +100,7 @@ class SpecialNotificationsMarkRead extends FormSpecialPage {
// places on the page, it has to be neutral, so we make the button
// manually.
$form->suppressDefaultSubmit();
$pageTitle = $this->getPageTitle();
$form->setTitle( $pageTitle );
$form->setAction( $pageTitle->getLocalURL() );
$form->setTitle( $this->getPageTitle() );
$form->addButton( [
'name' => 'submit',