From b3c4ad216943063a372e1ada721c1a140fc2ba5a Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 20 Jun 2011 08:07:50 +0000 Subject: [PATCH] Fix for r90406: giving an OutputPage object instead of an User object is not really a good idea --- includes/Action.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Action.php b/includes/Action.php index af96e5433b..5eff68cfd0 100644 --- a/includes/Action.php +++ b/includes/Action.php @@ -125,7 +125,7 @@ abstract class Action { * @return User */ protected final function getUser() { - return $this->getContext()->getOutput(); + return $this->getContext()->getUser(); } /** @@ -450,4 +450,4 @@ abstract class FormlessAction extends Action { } } } -} \ No newline at end of file +} -- 2.20.1