summaryrefslogtreecommitdiff
path: root/system/libraries/drivers/Cache/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/drivers/Cache/File.php')
-rw-r--r--system/libraries/drivers/Cache/File.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/drivers/Cache/File.php b/system/libraries/drivers/Cache/File.php
index fc20c22d..d6ec0378 100644
--- a/system/libraries/drivers/Cache/File.php
+++ b/system/libraries/drivers/Cache/File.php
@@ -183,7 +183,7 @@ class Cache_File_Driver extends Cache_Driver {
// Get the id from the filename
list($key, $junk) = explode('~', basename($path), 2);
- if (($data = $this->get($key)) !== FALSE)
+ if (($data = $this->get($key, TRUE)) !== FALSE)
{
// Add the result to the array
$result[$key] = $data;
@@ -211,7 +211,7 @@ class Cache_File_Driver extends Cache_Driver {
// Remove the cache file
if ( ! unlink($path))
{
- Kohana::log('error', 'Cache: Unable to delete cache file: '.$path);
+ Kohana_Log::add('error', 'Cache: Unable to delete cache file: '.$path);
$success = FALSE;
}
}