]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Console/Cache.php
Merge pull request #6955 from tobiasd/20190331-vier
[friendica.git] / src / Core / Console / Cache.php
index 1d93c3c011d12f150ca0103d7bf55b4cab3b92dc..510c05b04acec6cbb068cfdafb3f9714f70e9f7b 100644 (file)
@@ -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');
                }