From 10d93c34cb1709aeb5906c43143b7cc9a3f7060c Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 22 Jul 2011 21:31:50 +0000 Subject: [PATCH] Removed Special{$this->getName()}ModifyFormFields from r86482. Seems kind of weird, was undocumented, and is unused by extensions. --- includes/SpecialPage.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index acaf32cf2f..a91b587646 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -748,9 +748,6 @@ abstract class FormSpecialPage extends SpecialPage { protected function getForm() { $this->fields = $this->getFormFields(); - // Give hooks a chance to alter the form, adding extra fields or text etc - wfRunHooks( "Special{$this->getName()}ModifyFormFields", array( &$this->fields ) ); - $form = new HTMLForm( $this->fields, $this->getContext() ); $form->setSubmitCallback( array( $this, 'onSubmit' ) ); $form->setWrapperLegend( wfMessage( strtolower( $this->getName() ) . '-legend' ) ); -- 2.20.1