summaryrefslogtreecommitdiffstats
path: root/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php')
-rw-r--r--core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php b/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php
index 8945be11a1c..76e0550830c 100644
--- a/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php
+++ b/core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php
@@ -25,7 +25,8 @@ declare(strict_types=1);
*/
namespace OC\Core\BackgroundJobs;
-use OC\BackgroundJob\QueuedJob;
+use OCP\AppFramework\Utility\ITimeFactory;
+use OCP\BackgroundJob\QueuedJob;
use OCP\IConfig;
use OCP\IUser;
use OCP\IUserManager;
@@ -34,7 +35,8 @@ class LookupServerSendCheckBackgroundJob extends QueuedJob {
protected IConfig $config;
private IUserManager $userManager;
- public function __construct(IConfig $config, IUserManager $userManager) {
+ public function __construct(IConfig $config, IUserManager $userManager, ITimeFactory $time) {
+ parent::__construct($time);
$this->config = $config;
$this->userManager = $userManager;
}