diff options
author | Greg Aker <greg@gregaker.net> | 2011-01-29 23:16:58 +0100 |
---|---|---|
committer | Greg Aker <greg@gregaker.net> | 2011-01-29 23:16:58 +0100 |
commit | 999e7472aa094dac056494ff41772f9204da04b2 (patch) | |
tree | 6a0d1544a98a6d24facafad7fe8c1bda8d1bef0d /system | |
parent | 854072b386c3143c9df9200d202056f40ffce473 (diff) |
Fix #21 - Typo in get_metadata() function of apc and memcached cache drivers.
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Cache/drivers/Cache_apc.php | 2 | ||||
-rw-r--r-- | system/libraries/Cache/drivers/Cache_memcached.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Cache/drivers/Cache_apc.php b/system/libraries/Cache/drivers/Cache_apc.php index e82e8e1f5..4b995c793 100644 --- a/system/libraries/Cache/drivers/Cache_apc.php +++ b/system/libraries/Cache/drivers/Cache_apc.php @@ -114,7 +114,7 @@ class Cache_apc extends CI_Driver { return FALSE; } - list($value, $time, $ttl) = $stored; + list($data, $time, $ttl) = $stored; return array( 'expire' => $time + $ttl, diff --git a/system/libraries/Cache/drivers/Cache_memcached.php b/system/libraries/Cache/drivers/Cache_memcached.php index a7efdc5de..5f5a31591 100644 --- a/system/libraries/Cache/drivers/Cache_memcached.php +++ b/system/libraries/Cache/drivers/Cache_memcached.php @@ -122,7 +122,7 @@ class Cache_memcached extends CI_Driver { return FALSE; } - list($value, $time, $ttl) = $stored; + list($data, $time, $ttl) = $stored; return array( 'expire' => $time + $ttl, |