From: Alexander Ebert Date: Fri, 2 Dec 2011 14:30:01 +0000 (+0100) Subject: Reverted 2febb84 X-Git-Tag: 2.0.0_Beta_1~1543 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d649c674eca2a54ca22cc80e3ae0d9fc80d294b;p=GitHub%2FWoltLab%2FWCF.git Reverted 2febb84 --- diff --git a/wcfsetup/install/files/lib/system/request/Request.class.php b/wcfsetup/install/files/lib/system/request/Request.class.php index ae6454db5f..a14a42e613 100644 --- a/wcfsetup/install/files/lib/system/request/Request.class.php +++ b/wcfsetup/install/files/lib/system/request/Request.class.php @@ -36,12 +36,6 @@ class Request { */ protected $executed = false; - /** - * controller object - * @var object - */ - protected $controller = null; - /** * Creates a new request object. * @@ -61,7 +55,7 @@ class Request { public function execute() { if (!$this->executed) { $this->executed = true; - $this->controller = new $this->className(); + new $this->className(); } } @@ -100,13 +94,4 @@ class Request { public function getPageType() { return $this->pageType; } - - /** - * Returns the controller of this request. - * - * @return object - */ - public function getController() { - return $this->controller; - } }