X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fworker.php;h=2b5915f471d4fc76b9fdfdee1bad2ff42318cea0;hb=73835118550f4bf9c0df510283c905f89224d612;hp=c7174d81e1813ea0e246e2435c0132a7bdb8249a;hpb=256e845c5dd606d6e0f1d401a0859b6f8728fb2d;p=friendica.git diff --git a/bin/worker.php b/bin/worker.php index c7174d81e1..2b5915f471 100755 --- a/bin/worker.php +++ b/bin/worker.php @@ -33,7 +33,7 @@ require dirname(__DIR__) . '/vendor/autoload.php'; $a = Factory\DependencyFactory::setUp('worker', dirname(__DIR__)); // Check the database structure and possibly fixes it -Update::check($a->getBasePath(), true); +Update::check($a->getBasePath(), true, $a->getMode()); // Quit when in maintenance if (!$a->getMode()->has(App\Mode::MAINTENANCEDISABLED)) {