X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=bin%2Fauth_ejabberd.php;h=40e7d3b97c3e80ec678837f02a49e5a14d6cfb6c;hb=32bb0976046ef9fa2296d0aeb39a01b0b916dc1e;hp=ecff7218dd7600063f6d80200b47303f18f7873b;hpb=6aa1dcfad371f34fea1f8e39b73de2cc3dd05784;p=friendica.git diff --git a/bin/auth_ejabberd.php b/bin/auth_ejabberd.php index ecff7218dd..40e7d3b97c 100755 --- a/bin/auth_ejabberd.php +++ b/bin/auth_ejabberd.php @@ -82,6 +82,10 @@ $dice = $dice->addRule(LoggerInterface::class,['constructParams' => ['auth_ejabb \Friendica\DI::init($dice); \Friendica\Core\Logger\Handler\ErrorHandler::register($dice->create(\Psr\Log\LoggerInterface::class)); + +// Check the database structure and possibly fixes it +\Friendica\Core\Update::check(\Friendica\DI::basePath(), true); + $appMode = $dice->create(Mode::class); if ($appMode->isNormal()) {