diff options
author | redmatrix <git@macgirvin.com> | 2016-04-23 16:57:32 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-04-23 16:57:32 -0700 |
commit | ce45a1cf945617f3895fb3e40b13e6f705fbc000 (patch) | |
tree | 8d407ab11e8c4fdc4560cf67e0fd242f7f1544a0 /library/Smarty/libs/sysplugins/smarty_internal_extension_clear.php | |
parent | 79c63e3cf44438a7f993b2ea1813b9234ea4d3f3 (diff) | |
parent | 9d698c08876169228b09e144f80c5311fcb0fa49 (diff) | |
download | volse-hubzilla-ce45a1cf945617f3895fb3e40b13e6f705fbc000.tar.gz volse-hubzilla-ce45a1cf945617f3895fb3e40b13e6f705fbc000.tar.bz2 volse-hubzilla-ce45a1cf945617f3895fb3e40b13e6f705fbc000.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'library/Smarty/libs/sysplugins/smarty_internal_extension_clear.php')
-rw-r--r-- | library/Smarty/libs/sysplugins/smarty_internal_extension_clear.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/library/Smarty/libs/sysplugins/smarty_internal_extension_clear.php b/library/Smarty/libs/sysplugins/smarty_internal_extension_clear.php index c595214d8..00edc5abf 100644 --- a/library/Smarty/libs/sysplugins/smarty_internal_extension_clear.php +++ b/library/Smarty/libs/sysplugins/smarty_internal_extension_clear.php @@ -114,14 +114,6 @@ class Smarty_Internal_Extension_Clear } } } - // remove from template cache - if (isset($smarty->_cache['template_objects'])) { - foreach ($smarty->_cache['template_objects'] as $key => $tpl) { - if (isset($tpl->cached) && $tpl->cached->filepath == (string) $_file) { - unset($smarty->_cache['template_objects'][$key]); - } - } - } $_count += @unlink((string) $_file) ? 1 : 0; if (function_exists('opcache_invalidate')) { opcache_invalidate((string) $_file); |