mirror of
https://github.com/nextcloud/server.git
synced 2026-04-02 15:45:38 -04:00
Fix RedisCluster
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
This commit is contained in:
parent
fab390f884
commit
c81ea3aa98
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ class Redis extends Cache implements IMemcacheTTL {
|
|||
public function clear($prefix = '') {
|
||||
$prefix = $this->getPrefix() . $prefix . '*';
|
||||
$keys = $this->getCache()->keys($prefix);
|
||||
$deleted = $this->getCache()->unlink($keys);
|
||||
$deleted = $this->getCache()->del($keys);
|
||||
|
||||
return (is_array($keys) && (count($keys) === $deleted));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue