mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
ensure redis returns bool for hasKey
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
e590f44c4a
commit
92e1606c18
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ class Redis extends Cache implements IMemcacheTTL {
|
|||
}
|
||||
|
||||
public function hasKey($key) {
|
||||
return self::$cache->exists($this->getNameSpace() . $key);
|
||||
return (bool)self::$cache->exists($this->getNameSpace() . $key);
|
||||
}
|
||||
|
||||
public function remove($key) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue