r90440 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r90439
|
r90440
|
r90441
>
Date:
08:07, 20 June 2011
Author:
ialex
Status:
ok
Tags:
Comment:
Fix for
r90406
: giving an OutputPage object instead of an User object is not really a good idea
Modified paths:
/trunk/phase3/includes/Action.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/Action.php
—
—
@@ -125,7 +125,7 @@
126
126
* @return User
127
127
*/
128
128
protected final function getUser() {
129
- return $this->getContext()->getOutput();
129
+ return $this->getContext()->getUser();
130
130
}
131
131
132
132
/**
—
—
@@ -450,4 +450,4 @@
451
451
}
452
452
}
453
453
}
454
-}
\ No newline at end of file
454
+}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r90406
Fix up a couple of uses of context->object instead of context->getObject(). F...
demon
17:38, 19 June 2011
Status & tagging log
00:59, 25 June 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r90440
[
removed:
new
added:
ok]