From 6d9964c85e7aef25469136a5b0bbdd54eb54d9f5 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 19 Jun 2011 17:38:02 +0000 Subject: [PATCH] Fix up a couple of uses of context->object instead of context->getObject(). Fixes bug 29491 --- includes/Action.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/Action.php b/includes/Action.php index 5fbb5c7013..af96e5433b 100644 --- a/includes/Action.php +++ b/includes/Action.php @@ -107,7 +107,7 @@ abstract class Action { * @return WebRequest */ protected final function getRequest() { - return $this->getContext()->request; + return $this->getContext()->getRequest(); } /** @@ -116,7 +116,7 @@ abstract class Action { * @return OutputPage */ protected final function getOutput() { - return $this->getContext()->output; + return $this->getContext()->getOutput(); } /** @@ -125,7 +125,7 @@ abstract class Action { * @return User */ protected final function getUser() { - return $this->getContext()->user; + return $this->getContext()->getOutput(); } /** @@ -134,7 +134,7 @@ abstract class Action { * @return Skin */ protected final function getSkin() { - return $this->getContext()->skin; + return $this->getContext()->getSkin(); } /** @@ -143,7 +143,7 @@ abstract class Action { * @return Skin */ protected final function getLang() { - return $this->getContext()->lang; + return $this->getContext()->getLang(); } /** -- 2.20.1