From: Aaron Schulz Date: Fri, 22 Jul 2011 21:31:50 +0000 (+0000) Subject: Removed Special{$this->getName()}ModifyFormFields from r86482. Seems kind of weird... X-Git-Tag: 1.31.0-rc.0~28678 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=10d93c34cb1709aeb5906c43143b7cc9a3f7060c;p=lhc%2Fweb%2Fwiklou.git Removed Special{$this->getName()}ModifyFormFields from r86482. Seems kind of weird, was undocumented, and is unused by extensions. --- 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' ) );