Fixup LogChannels

This commit is contained in:
Philipp 2025-01-05 22:26:08 +01:00
parent 40fbb02149
commit 5fe9d53cfa
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
5 changed files with 5 additions and 7 deletions

View file

@ -93,7 +93,7 @@ HELP;
protected function doExecute()
{
if ($this->executable !== 'bin/console.php') {
if (substr($this->executable,-strlen('bin/console.php')) !== 'bin/console.php') {
$this->out(sprintf("'%s' is deprecated and will removed. Please use 'bin/console.php daemon' instead", $this->executable));
}
@ -101,8 +101,6 @@ HELP;
throw new RuntimeException("Friendica isn't properly installed yet");
}
$this->logger->warning('blah!');
$this->mode->setExecutor(Mode::DAEMON);
$this->config->reload();