summaryrefslogtreecommitdiffstats
path: root/lib/cache/xcache.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-09-07 15:22:01 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2012-09-07 15:22:01 +0200
commit3829460ab8cbb6de65c53583a20fd04cbe7927dd (patch)
tree4dc24845a5eb31b17510a621e14c15b51f16bf7b /lib/cache/xcache.php
parent785aa751bb5f9a4bcdd677b96207550482e17d3c (diff)
downloadnextcloud-server-3829460ab8cbb6de65c53583a20fd04cbe7927dd.tar.gz
nextcloud-server-3829460ab8cbb6de65c53583a20fd04cbe7927dd.zip
adding space between) and {
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;
}