From: Chad Horohoe Date: Sun, 19 Jun 2011 17:38:02 +0000 (+0000) Subject: Fix up a couple of uses of context->object instead of context->getObject(). Fixes... X-Git-Tag: 1.31.0-rc.0~29418 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=6d9964c85e7aef25469136a5b0bbdd54eb54d9f5;p=lhc%2Fweb%2Fwiklou.git Fix up a couple of uses of context->object instead of context->getObject(). Fixes bug 29491 --- 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(); } /**