mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 16:14:26 +02:00
Fix getAllKeys() method for memcache instances
This commit is contained in:
parent
41e2031e6b
commit
e2e109b8c1
5 changed files with 108 additions and 17 deletions
|
@ -21,7 +21,7 @@ class ArrayCache extends Cache implements IMemoryCache
|
|||
*/
|
||||
public function getAllKeys($prefix = null)
|
||||
{
|
||||
return $this->filterArrayKeysByPrefix($this->cachedData, $prefix);
|
||||
return $this->filterArrayKeysByPrefix(array_keys($this->cachedData), $prefix);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue