diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-06 17:05:00 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-06 17:05:00 -0800 |
commit | 10c05c855a1634a60048a52e8d90bc51f187ede7 (patch) | |
tree | b65a9d3b2f2213503e3f143b18af6ebd831bc554 /system/libraries/Cache.php | |
parent | 058a84ed76df96aeb6ec082d16fe0d8f317faac2 (diff) | |
parent | ded8fc593cccaf66236fb271a6d3f962d8c4b337 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'system/libraries/Cache.php')
-rw-r--r-- | system/libraries/Cache.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/system/libraries/Cache.php b/system/libraries/Cache.php index 024c1888..c7954d37 100644 --- a/system/libraries/Cache.php +++ b/system/libraries/Cache.php @@ -4,9 +4,7 @@ * resources. Caches are identified by a unique string. Tagging of caches is * also supported, and caches can be found and deleted by id or tag. * - * $Id: Cache.php 4605 2009-09-14 17:22:21Z kiall $ - * - * @package Cache + * @package Kohana * @author Kohana Team * @copyright (c) 2007-2009 Kohana Team * @license http://kohanaphp.com/license @@ -106,7 +104,7 @@ class Cache_Core { if ($this->config['prefix'] !== NULL) { $key = $this->add_prefix($key); - + if ($tags !== NULL) { $tags = $this->add_prefix($tags, FALSE); @@ -132,14 +130,14 @@ class Cache_Core { if ($this->config['prefix'] !== NULL) { $keys = $this->add_prefix($keys, FALSE); - + if ( ! $single) { return $this->strip_prefix($this->driver->get($keys, $single)); } } - + return $this->driver->get($keys, $single); } |