Respect coding style
This commit is contained in:
parent
23f348c99f
commit
9a2bc5255b
|
@ -29,9 +29,9 @@ class OC_Cache_XCache {
|
|||
|
||||
public function set($key, $value, $ttl=0) {
|
||||
if($ttl>0) {
|
||||
return xcache_set($this->getNamespace().$key,$value,$ttl);
|
||||
return xcache_set($this->getNamespace().$key, $value, $ttl);
|
||||
}else{
|
||||
return xcache_set($this->getNamespace().$key,$value);
|
||||
return xcache_set($this->getNamespace().$key, $value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue