X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=inc%2Fsmarty%2Fnode_methodz%2Ffunction.assign_debug_info.php;fp=inc%2Fsmarty%2Fnode_methodz%2Ffunction.assign_debug_info.php;h=0000000000000000000000000000000000000000;hb=f9b322cc7cb38f9d23168c291ebc3e49040a4999;hp=0d66b061aec2b3869f6ce867dc2f93406d9dbf21;hpb=673e23209e2e3b9782c037e70156a1a20154a5b9;p=mirrors%2FKyberia-bloodline.git
diff --git a/inc/smarty/node_methodz/function.assign_debug_info.php b/inc/smarty/node_methodz/function.assign_debug_info.php
deleted file mode 100644
index 0d66b06..0000000
--- a/inc/smarty/node_methodz/function.assign_debug_info.php
+++ /dev/null
@@ -1,39 +0,0 @@
-
- * Name: assign_debug_info
- * Purpose: assign debug info to the template
- * @param array unused in this plugin, this plugin uses {@link Smarty::$_config},
- * {@link Smarty::$_tpl_vars} and {@link Smarty::$_smarty_debug_info}
- * @param Smarty
- */
-function smarty_function_assign_debug_info($params, &$smarty)
-{
- $assigned_vars = $smarty->_tpl_vars;
- ksort($assigned_vars);
- if (@is_array($smarty->_config[0])) {
- $config_vars = $smarty->_config[0];
- ksort($config_vars);
- $smarty->assign("_debug_config_keys", array_keys($config_vars));
- $smarty->assign("_debug_config_vals", array_values($config_vars));
- }
-
- $included_templates = $smarty->_smarty_debug_info;
-
- $smarty->assign("_debug_keys", array_keys($assigned_vars));
- $smarty->assign("_debug_vals", array_values($assigned_vars));
-
- $smarty->assign("_debug_tpls", $included_templates);
-}
-
-/* vim: set expandtab: */
-
-?>