$this->out('Options: ' . var_export($this->options, true));
}
- if (!App\Mode::has(App\Mode::DBCONFIGAVAILABLE)) {
+ if ($a->getMode()->has(App\Mode::DBCONFIGAVAILABLE)) {
$this->out('Database isn\'t ready or populated yet, database cache won\'t be available');
}
$count = 0;
foreach ($keys as $key) {
- if (empty($prefix) || strpos($key, $prefix) === 0) {
- $this->out($key);
- $count++;
- }
+ $this->out($key);
+ $count++;
}
$this->out($count . ' keys found');