Removed Special{$this->getName()}ModifyFormFields from r86482. Seems kind of weird, was undocumented, and is unused by extensions.
This commit is contained in:
parent
c91dee62b9
commit
10d93c34cb
1 changed files with 0 additions and 3 deletions
|
|
@ -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' ) );
|
||||
|
|
|
|||
Loading…
Reference in a new issue