]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Worker.php
Apply suggestions from code review
[friendica.git] / src / Core / Worker.php
index 859b92bada260934c293c0a7dbe91ccf4fdb2475..2db9256d13804c372a5e0e98b44c77f67f1eb215 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -331,7 +331,7 @@ class Worker
                $mypid = getmypid();
 
                // Quit when in maintenance
-               if (DI::config()->get('system', 'maintenance', false, true)) {
+               if (DI::config()->get('system', 'maintenance', false)) {
                        Logger::notice('Maintenance mode - quit process', ['pid' => $mypid]);
                        return false;
                }