diff options
Diffstat (limited to 'lib/cache/xcache.php')
-rw-r--r-- | lib/cache/xcache.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/cache/xcache.php b/lib/cache/xcache.php index a1f4d905b89..ad1e3e2c1f2 100644 --- a/lib/cache/xcache.php +++ b/lib/cache/xcache.php @@ -27,6 +27,10 @@ class OC_Cache_XCache{ } } + public function hasKey($key) { + return xcache_isset($this->getNamespace().$key); + } + public function remove($key) { return xcache_unset($this->getNamespace().$key); } |