diff options
author | Ben Edmunds <ben.edmunds@gmail.com> | 2011-08-20 21:12:12 +0200 |
---|---|---|
committer | Ben Edmunds <ben.edmunds@gmail.com> | 2011-08-20 21:12:12 +0200 |
commit | 3db2849dcf104127aee23ee69ba67011ebdfa91c (patch) | |
tree | a7332803e8f0ef06280c92722e45d9fb33825702 /system/libraries/Cache | |
parent | 80f4c34d1c5a51d82ae3dd898a12466e01790f10 (diff) |
Resolved issue 48. Removed unneeded array copy.
Diffstat (limited to 'system/libraries/Cache')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_file.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Cache/drivers/Cache_file.php b/system/libraries/Cache/drivers/Cache_file.php index edb48acb6..6c37e7005 100644 --- a/system/libraries/Cache/drivers/Cache_file.php +++ b/system/libraries/Cache/drivers/Cache_file.php @@ -165,8 +165,8 @@ class CI_Cache_file extends CI_Driver { } return array( - 'expire' => $mtime + $data['data']['ttl'], - 'mtime' => $mtime + 'expire' => $mtime + $data['data']['ttl'], + 'mtime' => $mtime ); } |