removed mods directory from the ATutor codebase
[atutor.git] / mods / phpdoc2 / PhpDocumentor / phpDocumentor / Smarty-2.6.0 / libs / plugins / function.assign_debug_info.php
diff --git a/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/function.assign_debug_info.php b/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/function.assign_debug_info.php
deleted file mode 100644 (file)
index 59ddaa1..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php\r
-/**\r
- * Smarty plugin\r
- * @package Smarty\r
- * @subpackage plugins\r
- */\r
-\r
-/**\r
- * Smarty {assign_debug_info} function plugin\r
- *\r
- * Type:     function<br>\r
- * Name:     assign_debug_info<br>\r
- * Purpose:  assign debug info to the template<br>\r
- * @param array unused in this plugin, this plugin uses {@link Smarty::$_config},\r
- *              {@link Smarty::$_tpl_vars} and {@link Smarty::$_smarty_debug_info}\r
- * @param Smarty\r
- */\r
-function smarty_function_assign_debug_info($params, &$smarty)\r
-{\r
-    $assigned_vars = $smarty->_tpl_vars;\r
-    ksort($assigned_vars);\r
-    if (@is_array($smarty->_config[0])) {\r
-        $config_vars = $smarty->_config[0];\r
-        ksort($config_vars);\r
-        $smarty->assign("_debug_config_keys", array_keys($config_vars));\r
-        $smarty->assign("_debug_config_vals", array_values($config_vars));\r
-    }   \r
-    \r
-    $included_templates = $smarty->_smarty_debug_info;\r
-    \r
-    $smarty->assign("_debug_keys", array_keys($assigned_vars));\r
-    $smarty->assign("_debug_vals", array_values($assigned_vars));\r
-    \r
-    $smarty->assign("_debug_tpls", $included_templates);\r
-}\r
-\r
-/* vim: set expandtab: */\r
-\r
-?>\r