From 48d9c4d2b093e12ec3bf3cd29295da0f2277028f Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Tue, 28 Jun 2022 12:55:26 +0200 Subject: Port existing server code to new interface Signed-off-by: Carl Schwan --- core/BackgroundJobs/CheckForUserCertificates.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'core/BackgroundJobs/CheckForUserCertificates.php') diff --git a/core/BackgroundJobs/CheckForUserCertificates.php b/core/BackgroundJobs/CheckForUserCertificates.php index 492fadde854..11b851fff94 100644 --- a/core/BackgroundJobs/CheckForUserCertificates.php +++ b/core/BackgroundJobs/CheckForUserCertificates.php @@ -26,7 +26,8 @@ declare(strict_types=1); */ namespace OC\Core\BackgroundJobs; -use OC\BackgroundJob\QueuedJob; +use OCP\AppFramework\Utility\ITimeFactory; +use OCP\BackgroundJob\QueuedJob; use OCP\Files\Folder; use OCP\Files\IRootFolder; use OCP\Files\NotFoundException; @@ -39,7 +40,8 @@ class CheckForUserCertificates extends QueuedJob { private IUserManager $userManager; private IRootFolder $rootFolder; - public function __construct(IConfig $config, IUserManager $userManager, IRootFolder $rootFolder) { + public function __construct(IConfig $config, IUserManager $userManager, IRootFolder $rootFolder, ITimeFactory $time) { + parent::__construct($time); $this->config = $config; $this->userManager = $userManager; $this->rootFolder = $rootFolder; -- cgit v1.2.3