mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Merge "MarkRead: Remove redundant setAction()"
This commit is contained in:
commit
9c14f7b821
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue