From f4f84f5f68459f2ad294610ee2bf9df3dc4973d0 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Fri, 15 Nov 2019 16:39:50 +0900 Subject: [PATCH] Update storage.php --- system/storage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/system/storage.php b/system/storage.php index 12a07ad..b481fab 100644 --- a/system/storage.php +++ b/system/storage.php @@ -306,8 +306,7 @@ if(!check_function_exists("remove_storage_files")) { if(!check_function_exists("remove_volatile_files")) { function remove_volatile_files($storage_type, $max_age=0, $options=array()) { - $config = get_config(); - return remove_storage_files("cache", array( + return remove_storage_files($storage_type, array( "max_age" => $max_age, "excludes" => array("index.php", "index.html") ), $options);