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: I963ee6a27e6df28bff64f9babd8eaa7a40225c70
---
M DisableAccount_body.php
1 file changed, 1 insertion(+), 2 deletions(-)
Approvals:
Alex Monk: Looks good to me, approved
jenkins-bot: Verified
diff --git a/DisableAccount_body.php b/DisableAccount_body.php
index 1ffb08e..88d5d82 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/100330
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I963ee6a27e6df28bff64f9babd8eaa7a40225c70
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DisableAccount
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits