From 2ee7531609b17be018d9181e11439fe5924e0a92 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 31 May 2021 17:39:35 +0200 Subject: [PATCH] fixup! Move queries to the joblist --- core/register_command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/register_command.php b/core/register_command.php index 3e956c43cf..ec7792672e 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -91,7 +91,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $application->add(new OC\Core\Command\Background\Cron(\OC::$server->getConfig())); $application->add(new OC\Core\Command\Background\WebCron(\OC::$server->getConfig())); $application->add(new OC\Core\Command\Background\Ajax(\OC::$server->getConfig())); - $application->add(new OC\Core\Command\Background\Job(\OC::$server->getJobList(), \OC::$server->getDatabaseConnection(), \OC::$server->getLogger())); + $application->add(new OC\Core\Command\Background\Job(\OC::$server->getJobList(), \OC::$server->getLogger())); $application->add(\OC::$server->query(\OC\Core\Command\Broadcast\Test::class));