mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:50:11 +00:00
Replace worker_daemon_mode config entry with key-value entry
This commit is contained in:
parent
6b3265742a
commit
b227d65dfc
3 changed files with 8 additions and 7 deletions
|
@ -47,7 +47,7 @@ class Daemon
|
|||
return true;
|
||||
}
|
||||
|
||||
$daemon_mode = DI::config()->get('system', 'worker_daemon_mode', false, true);
|
||||
$daemon_mode = DI::keyValue()->get('worker_daemon_mode') ?? false;
|
||||
if ($daemon_mode) {
|
||||
return $daemon_mode;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue