diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-14 23:04:20 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-14 23:04:20 -0500 |
commit | 46f19336c0208797d3c47685b8b5d7d0c74296e0 (patch) | |
tree | b8cb1e5b8b35f827a13e6f1d459e6996f8c18662 /app/Core | |
parent | b081288188bb1744c9d7bd075aa5936e0ccbb9c4 (diff) |
Move some class instancaiations outside the router
Diffstat (limited to 'app/Core')
-rw-r--r-- | app/Core/Router.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/Core/Router.php b/app/Core/Router.php index 1750753c..e01c16f6 100644 --- a/app/Core/Router.php +++ b/app/Core/Router.php @@ -84,10 +84,6 @@ class Router } $instance = new $class($this->container); - $instance->request = new Request; - $instance->response = new Response; - $instance->session = new Session; - $instance->template = new Template; $instance->beforeAction($this->controller, $this->action); $instance->$method(); |