Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -748,9 +748,6 @@ |
749 | 749 | protected function getForm() { |
750 | 750 | $this->fields = $this->getFormFields(); |
751 | 751 | |
752 | | - // Give hooks a chance to alter the form, adding extra fields or text etc |
753 | | - wfRunHooks( "Special{$this->getName()}ModifyFormFields", array( &$this->fields ) ); |
754 | | - |
755 | 752 | $form = new HTMLForm( $this->fields, $this->getContext() ); |
756 | 753 | $form->setSubmitCallback( array( $this, 'onSubmit' ) ); |
757 | 754 | $form->setWrapperLegend( wfMessage( strtolower( $this->getName() ) . '-legend' ) ); |