mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:50:11 +00: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