Reverted 2febb84
authorAlexander Ebert <ebert@woltlab.com>
Fri, 2 Dec 2011 14:30:01 +0000 (15:30 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 2 Dec 2011 14:30:01 +0000 (15:30 +0100)
wcfsetup/install/files/lib/system/request/Request.class.php

index ae6454db5f7d46d4aae30a3b3831c35176c000ec..a14a42e613a04c4095cb6cd4624afc194ba676ae 100644 (file)
@@ -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;
-       }
 }