]> git.andy128k.dev Git - ipf-template.git/commitdiff
remove redundand class
authorAndrey Kutejko <andy128k@gmail.com>
Tue, 30 Jul 2013 16:09:52 +0000 (19:09 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Tue, 30 Jul 2013 16:09:52 +0000 (19:09 +0300)
ipf/template/context/request.php [deleted file]

diff --git a/ipf/template/context/request.php b/ipf/template/context/request.php
deleted file mode 100644 (file)
index 1d4684d..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-class IPF_Template_Context_Request extends IPF_Template_Context
-{
-    function __construct($request, $vars=array())
-    {
-        $vars = array_merge(array('request' => $request), $vars);
-        foreach (IPF::get('template_context_processors', array()) as $proc) {
-            IPF::loadFunction($proc);
-            $vars = array_merge($proc($request), $vars);
-        }
-        foreach (IPF_Project::getInstance()->appList() as $app) {
-            $vars = array_merge($app->templateContext($request), $vars);
-        }
-        parent::__construct($vars);
-    }
-}
-