aboutsummaryrefslogtreecommitdiffstats
path: root/includes/HTMLForm.php
diff options
context:
space:
mode:
authorJohn Du Hart <johnduhart@users.mediawiki.org>2011-11-16 04:37:17 +0000
committerJohn Du Hart <johnduhart@users.mediawiki.org>2011-11-16 04:37:17 +0000
commit93e50f7eedb2fa5539a6cbacdb997748672ee3ee (patch)
tree64012f82d3d53a653b956fd71c43c5371efc60c6 /includes/HTMLForm.php
parent2e7d867478f1c9a34994236555bc493535da5da8 (diff)
downloadmediawikicore-93e50f7eedb2fa5539a6cbacdb997748672ee3ee.tar.gz
mediawikicore-93e50f7eedb2fa5539a6cbacdb997748672ee3ee.zip
Following r100264, update usages in core
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/103294
Diffstat (limited to 'includes/HTMLForm.php')
-rw-r--r--includes/HTMLForm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php
index 6336e5bb91bf..ec2486c2ab94 100644
--- a/includes/HTMLForm.php
+++ b/includes/HTMLForm.php
@@ -493,7 +493,7 @@ class HTMLForm extends ContextSource {
$html = '';
if( $this->getMethod() == 'post' ){
- $html .= Html::hidden( 'wpEditToken', $this->getUser()->editToken(), array( 'id' => 'wpEditToken' ) ) . "\n";
+ $html .= Html::hidden( 'wpEditToken', $this->getUser()->getEditToken(), array( 'id' => 'wpEditToken' ) ) . "\n";
$html .= Html::hidden( 'title', $this->getTitle()->getPrefixedText() ) . "\n";
}