From 5d649c674eca2a54ca22cc80e3ae0d9fc80d294b Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 2 Dec 2011 15:30:01 +0100 Subject: [PATCH] Reverted 2febb84 --- .../files/lib/system/request/Request.class.php | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) 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; - } } -- 2.20.1