aboutsummaryrefslogtreecommitdiffstats
path: root/admin/maintenance.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/maintenance.php')
-rw-r--r--admin/maintenance.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/admin/maintenance.php b/admin/maintenance.php
index eb71adda9..1325e4928 100644
--- a/admin/maintenance.php
+++ b/admin/maintenance.php
@@ -106,8 +106,7 @@ DELETE
}
case 'compiled-templates' :
{
- $template->smarty->clear_compiled_tpl();
- file_put_contents($template->smarty->compile_dir.'/index.htm', '');
+ $template->delete_compiled_templates();
break;
}
default :