summaryrefslogtreecommitdiff
path: root/system/libraries/Cache.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-07 10:41:19 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-07 10:41:19 -0800
commitc711bf1b1fcf7840467a7a044b1f511e7b69c139 (patch)
treeee84a16b5ce4448fd41ba7ffa2cb2381b225e206 /system/libraries/Cache.php
parent31454d37b3ea02104925f1976609576c5f09c0c6 (diff)
parent10c05c855a1634a60048a52e8d90bc51f187ede7 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Diffstat (limited to 'system/libraries/Cache.php')
-rw-r--r--system/libraries/Cache.php10
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);
}