mirror of
https://github.com/friendica/friendica
synced 2025-04-27 08:30:10 +00:00
friendica-5847 Console Cache List command doesn't work
- filterPrefix => filterArrayKeysByPrefix() - Logging failed Executions of getAllKeys and get from Memcached
This commit is contained in:
parent
3f0f3b6ae6
commit
1ec5c6b284
5 changed files with 26 additions and 28 deletions
|
@ -115,10 +115,7 @@ HELP;
|
|||
|
||||
$count = 0;
|
||||
foreach ($keys as $key) {
|
||||
if (empty($prefix) || strpos($key, $prefix) === 0) {
|
||||
$this->out($key);
|
||||
$count++;
|
||||
}
|
||||
$this->out($key);
|
||||
}
|
||||
|
||||
$this->out($count . ' keys found');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue