X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConsole%2FCache.php;h=510c05b04acec6cbb068cfdafb3f9714f70e9f7b;hb=c713c2bf622257dbecf223b5f58bf8a98dde9d65;hp=459a27e20bed216ce0392ec60d4e03f122e3a12a;hpb=1ec5c6b2840cedbe21e089f4ef4404d22a65031e;p=friendica.git diff --git a/src/Core/Console/Cache.php b/src/Core/Console/Cache.php index 459a27e20b..510c05b04a 100644 --- a/src/Core/Console/Cache.php +++ b/src/Core/Console/Cache.php @@ -65,7 +65,7 @@ HELP; $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'); } @@ -116,6 +116,7 @@ HELP; $count = 0; foreach ($keys as $key) { $this->out($key); + $count++; } $this->out($count . ' keys found');