dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c91dee6
)
Removed Special{$this->getName()}ModifyFormFields from r86482. Seems kind of weird...
author
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 22 Jul 2011 21:31:50 +0000
(21:31 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 22 Jul 2011 21:31:50 +0000
(21:31 +0000)
includes/SpecialPage.php
patch
|
blob
|
history
diff --git
a/includes/SpecialPage.php
b/includes/SpecialPage.php
index
acaf32c
..
a91b587
100644
(file)
--- 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' ) );