From 640372d054cc2893847e56f8fa058bd65d20b774 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 11 Oct 2022 11:55:45 +0200 Subject: [PATCH] use public API of QueuedJob Signed-off-by: Arthur Schiwon --- lib/Jobs/MigrateGroups.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/Jobs/MigrateGroups.php b/lib/Jobs/MigrateGroups.php index 4f1b734c9..1ce9b9250 100644 --- a/lib/Jobs/MigrateGroups.php +++ b/lib/Jobs/MigrateGroups.php @@ -25,7 +25,8 @@ namespace OCA\User_SAML\Jobs; -use OC\BackgroundJob\QueuedJob; +use OCP\AppFramework\Utility\ITimeFactory; +use OCP\BackgroundJob\QueuedJob; use OC\Group\Database; use OCA\User_SAML\GroupBackend; use OCA\User_SAML\GroupManager; @@ -58,8 +59,10 @@ public function __construct( IGroupManager $groupManager, IDBConnection $dbc, GroupBackend $ownGroupBackend, - LoggerInterface $logger + LoggerInterface $logger, + ITimeFactory $timeFactory ) { + parent::__construct($timeFactory); $this->config = $config; $this->groupManager = $groupManager; $this->dbc = $dbc;