]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Cache/ArrayCache.php
Merge pull request #6942 from annando/worker-fast-commands
[friendica.git] / src / Core / Cache / ArrayCache.php
index 47c9c166808b86b8b53b4bac601223ac2a3c00e3..a99b05788f64e75e46d5d8e4df8c230bdcf6c414 100644 (file)
@@ -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);
        }
 
        /**