removed mods directory from the ATutor codebase
[atutor.git] / mods / phpdoc2 / PhpDocumentor / phpDocumentor / Smarty-2.6.0 / libs / core / core.process_compiled_include.php
diff --git a/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/core/core.process_compiled_include.php b/mods/phpdoc2/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/core/core.process_compiled_include.php
deleted file mode 100644 (file)
index 52ecc64..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php\r
-/**\r
- * Smarty plugin\r
- * @package Smarty\r
- * @subpackage plugins\r
- */\r
-\r
-/**\r
- * Replace nocache-tags by results of the corresponding non-cacheable\r
- * functions and return it\r
- *\r
- * @param string $compiled_tpl\r
- * @param string $cached_source\r
- * @return string\r
- */\r
-\r
-function smarty_core_process_compiled_include($params, &$smarty)\r
-{\r
-    $_cache_including = $smarty->_cache_including;\r
-    $smarty->_cache_including = true;\r
-\r
-    $_return = $params['results'];\r
-    foreach ($smarty->_cache_serials as $_include_file_path=>$_cache_serial) {\r
-        $_return = preg_replace_callback('!(\{nocache\:('.$_cache_serial.')#(\d+)\})!s',\r
-                                         array(&$smarty, '_process_compiled_include_callback'),\r
-                                         $_return);\r
-    }\r
-    $smarty->_cache_including = $_cache_including;\r
-    return $_return;\r
-}\r
-\r
-?>\r