jenkins-bot has submitted this change and it was merged.
Change subject: Pass context to HTMLForm, don't use HTMLForm::setTitle
......................................................................
Pass context to HTMLForm, don't use HTMLForm::setTitle
Change-Id: I026fe2bf1042a7dd22ae45694d978bdf19e68782
---
M DisableAccount_body.php
1 file changed, 1 insertion(+), 2 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/DisableAccount_body.php b/DisableAccount_body.php
index f5076f1..cd81ab4 100644
--- a/DisableAccount_body.php
+++ b/DisableAccount_body.php
@@ -20,10 +20,9 @@
),
);
- $htmlForm = new HTMLForm( $formFields, 'disableaccount' );
+ $htmlForm = new HTMLForm( $formFields, $this->getContext(),
'disableaccount' );
$htmlForm->setSubmitCallback( array( __CLASS__, 'submit' ) );
- $htmlForm->setTitle( $this->getTitle() );
$htmlForm->show();
}
--
To view, visit https://gerrit.wikimedia.org/r/105956
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I026fe2bf1042a7dd22ae45694d978bdf19e68782
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DisableAccount
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: IAlex <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits