mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:02:54 +00:00
Merge pull request #4544 from annando/no-cache-maintenance
Bugfix: Don't cache when looking for maintenance mode
This commit is contained in:
commit
c9d403bcb5
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ Config::load();
|
|||
check_db(true);
|
||||
|
||||
// Quit when in maintenance
|
||||
if (Config::get('system', 'maintenance', true)) {
|
||||
if (Config::get('system', 'maintenance', false, true)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -201,7 +201,7 @@ class Worker
|
|||
$mypid = getmypid();
|
||||
|
||||
// Quit when in maintenance
|
||||
if (Config::get('system', 'maintenance', true)) {
|
||||
if (Config::get('system', 'maintenance', false, true)) {
|
||||
logger("Maintenance mode - quit process ".$mypid, LOGGER_DEBUG);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue