X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FLock.php;h=0acede5df890b63b52472d1cb5603746587588aa;hb=40a126306621fe9eadb58101bd19a0be32e4c163;hp=c43213fba8f1bdb6513286b602631c2b2eeb2591;hpb=516018861e011865a902587876d484d6f0f42a66;p=friendica.git diff --git a/src/Console/Lock.php b/src/Console/Lock.php index c43213fba8..0acede5df8 100644 --- a/src/Console/Lock.php +++ b/src/Console/Lock.php @@ -1,6 +1,6 @@ lock = $lock; } - protected function doExecute() + protected function doExecute(): int { if ($this->getOption('v')) { $this->out('Executable: ' . $this->executable); @@ -93,7 +93,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'); }