X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=src%2FCore%2FCache%2FArrayCache.php;h=a99b05788f64e75e46d5d8e4df8c230bdcf6c414;hb=ef0545645a3054a6433340e7ac170c1933e670cc;hp=47c9c166808b86b8b53b4bac601223ac2a3c00e3;hpb=71c08a044f8317c92b3b282a70f55406ae9deb0a;p=friendica.git diff --git a/src/Core/Cache/ArrayCache.php b/src/Core/Cache/ArrayCache.php index 47c9c16680..a99b05788f 100644 --- a/src/Core/Cache/ArrayCache.php +++ b/src/Core/Cache/ArrayCache.php @@ -22,9 +22,9 @@ class ArrayCache extends AbstractCacheDriver implements IMemoryCacheDriver /** * (@inheritdoc) */ - public function getAllKeys() + public function getAllKeys($prefix = null) { - return array_keys($this->cachedData); + return $this->filterArrayKeysByPrefix($this->cachedData, $prefix); } /**