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:
6529420
)
Remove FormSpecialPage::$fields
author
Kunal Mehta
<legoktm@gmail.com>
Sun, 15 Mar 2015 02:41:55 +0000
(19:41 -0700)
committer
Umherirrender
<umherirrender_de.wp@web.de>
Thu, 19 Mar 2015 16:12:56 +0000
(16:12 +0000)
Just use the result of FormSpecialPage::getFormFields() directly
Change-Id: I2f6f8e20b83a24e744ab4c6ea5417d9627a3e0aa
includes/specialpage/FormSpecialPage.php
patch
|
blob
|
history
diff --git
a/includes/specialpage/FormSpecialPage.php
b/includes/specialpage/FormSpecialPage.php
index
21e465a
..
9056761
100644
(file)
--- a/
includes/specialpage/FormSpecialPage.php
+++ b/
includes/specialpage/FormSpecialPage.php
@@
-89,11
+89,9
@@
abstract class FormSpecialPage extends SpecialPage {
* @return HTMLForm|null
*/
protected function getForm() {
- $this->fields = $this->getFormFields();
-
$form = HTMLForm::factory(
$this->getDisplayFormat(),
- $this->
fields
,
+ $this->
getFormFields()
,
$this->getContext(),
$this->getMessagePrefix()
);