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:
7e0f94d
)
Special pages aren't a contextsource. Ping r100114, pass $this->getContext()
author
Sam Reed
<reedy@users.mediawiki.org>
Mon, 5 Mar 2012 22:43:10 +0000
(22:43 +0000)
committer
Sam Reed
<reedy@users.mediawiki.org>
Mon, 5 Mar 2012 22:43:10 +0000
(22:43 +0000)
includes/specials/SpecialUserlogin.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialUserlogin.php
b/includes/specials/SpecialUserlogin.php
index
fa1713f
..
bc928c7
100644
(file)
--- a/
includes/specials/SpecialUserlogin.php
+++ b/
includes/specials/SpecialUserlogin.php
@@
-804,7
+804,7
@@
class LoginForm extends SpecialPage {
function resetLoginForm( $error ) {
$this->getOutput()->addHTML( Xml::element('p', array( 'class' => 'error' ), $error ) );
$reset = new SpecialChangePassword();
- $reset->setContext( $this );
+ $reset->setContext( $this
->getContext()
);
$reset->execute( null );
}