diff --git a/system/admin/views/clear-cache.html.php b/system/admin/views/clear-cache.html.php index 3d3803a..99a4cf1 100644 --- a/system/admin/views/clear-cache.html.php +++ b/system/admin/views/clear-cache.html.php @@ -9,9 +9,7 @@ foreach (glob('cache/index/*.txt', GLOB_NOSORT) as $file) { unlink($file); } -foreach (glob('cache/widget/*.cache', GLOB_NOSORT) as $file) { - unlink($file); -} +rebuilt_cache('all'); echo i18n('All_cache_has_been_deleted');