summaryrefslogtreecommitdiffstats
path: root/lib/cache/xcache.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cache/xcache.php')
-rw-r--r--lib/cache/xcache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cache/xcache.php b/lib/cache/xcache.php
index 951f9b47545..0739e4a2fa2 100644
--- a/lib/cache/xcache.php
+++ b/lib/cache/xcache.php
@@ -28,7 +28,7 @@ class OC_Cache_XCache {
}
public function set($key, $value, $ttl=0) {
- if($ttl>0){
+ if($ttl>0) {
return xcache_set($this->getNamespace().$key,$value,$ttl);
}else{
return xcache_set($this->getNamespace().$key,$value);
@@ -43,7 +43,7 @@ class OC_Cache_XCache {
return xcache_unset($this->getNamespace().$key);
}
- public function clear($prefix=''){
+ public function clear($prefix='') {
xcache_unset_by_prefix($this->getNamespace().$prefix);
return true;
}