Updated calls to current Smarty API: clear_all_cache() -> clearAllCache(), clear_compiled_tpl() -> clearCompiledTemplate()

This commit is contained in:
azett 2022-02-06 15:44:24 +01:00
parent fc883803a0
commit 1424e3bb7b

View File

@ -166,8 +166,8 @@ class admin_maintain_default extends AdminPanelAction {
unset($tpldel);
$this->smarty->cache_dir = CACHE_DIR . 'cache/';
$this->smarty->caching = 0;
$this->smarty->clear_all_cache();
$this->smarty->clear_compiled_tpl();
$this->smarty->clearAllCache();
$this->smarty->clearCompiledTemplate();
$this->smarty->compile_check = true;
$this->smarty->force_compile = true;
$this->smarty->assign('success', 1);