From: Sam Reed Date: Fri, 17 Jun 2011 13:27:39 +0000 (+0000) Subject: Fix more __get() calls on RequestContext X-Git-Tag: 1.31.0-rc.0~29474 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=fc35a42ffd095b9ea0f03baf47c9cae93b25dc7c;p=lhc%2Fweb%2Fwiklou.git Fix more __get() calls on RequestContext --- diff --git a/includes/HTMLForm.php b/includes/HTMLForm.php index 98800545e3..ac1690d86c 100644 --- a/includes/HTMLForm.php +++ b/includes/HTMLForm.php @@ -624,7 +624,7 @@ class HTMLForm { */ function getTitle() { return $this->mTitle === false - ? $this->getContext()->title + ? $this->getContext()->getTitle() : $this->mTitle; } @@ -641,21 +641,21 @@ class HTMLForm { * @return OutputPage */ public function getOutput(){ - return $this->getContext()->output; + return $this->getContext()->getOutput(); } /** * @return WebRequest */ public function getRequest(){ - return $this->getContext()->request; + return $this->getContext()->getRequest(); } /** * @return User */ public function getUser(){ - return $this->getContext()->user; + return $this->getContext()->getUser(); } /**