X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FCache.php;h=c5537169938c6042a16c91a64546d1ced3327d7c;hb=d27576059670faf87f80eaae2b4560f85b5310fc;hp=c087aae6d61e417c3c076d866f0adc385f99bcf9;hpb=23c64b9a119c5df9f985ad4c62ef6fb79d68bee3;p=friendica.git diff --git a/src/Console/Cache.php b/src/Console/Cache.php index c087aae6d6..c553716993 100644 --- a/src/Console/Cache.php +++ b/src/Console/Cache.php @@ -1,6 +1,6 @@ cache = $cache; } - protected function doExecute() + protected function doExecute(): int { if ($this->getOption('v')) { $this->out('Executable: ' . $this->executable); @@ -99,7 +99,7 @@ HELP; $this->out('Options: ' . var_export($this->options, true)); } - if (!$this->appMode->has(App\Mode::DBCONFIGAVAILABLE)) { + if (!$this->appMode->has(App\Mode::DBAVAILABLE)) { $this->out('Database isn\'t ready or populated yet, database cache won\'t be available'); }