summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/libraries/Cache/drivers/Cache_file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cache/drivers/Cache_file.php b/system/libraries/Cache/drivers/Cache_file.php
index 625397817..2f250e764 100644
--- a/system/libraries/Cache/drivers/Cache_file.php
+++ b/system/libraries/Cache/drivers/Cache_file.php
@@ -62,7 +62,7 @@ class CI_Cache_file extends CI_Driver {
if (time() > $data['time'] + $data['ttl'])
{
- unlink($this->_cache_path.$id);
+ $this->delete($id);
return FALSE;
}