From 1424e3bb7baf47ff9fc1436219e8c0561619c665 Mon Sep 17 00:00:00 2001 From: azett Date: Sun, 6 Feb 2022 15:44:24 +0100 Subject: [PATCH] Updated calls to current Smarty API: clear_all_cache() -> clearAllCache(), clear_compiled_tpl() -> clearCompiledTemplate() --- admin/panels/maintain/admin.maintain.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/panels/maintain/admin.maintain.php b/admin/panels/maintain/admin.maintain.php index 55316d9..f2faa8f 100755 --- a/admin/panels/maintain/admin.maintain.php +++ b/admin/panels/maintain/admin.maintain.php @@ -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);