From bcc8c59a2e67a39d06df46e0414cf367385ba3b3 Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Mon, 14 Oct 2024 08:16:25 +0200 Subject: [PATCH] fix: Properly call parent constructor for remote activity job Signed-off-by: Julius Knorr --- lib/BackgroundJob/RemoteActivity.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/BackgroundJob/RemoteActivity.php b/lib/BackgroundJob/RemoteActivity.php index 2ca490393..874e33822 100644 --- a/lib/BackgroundJob/RemoteActivity.php +++ b/lib/BackgroundJob/RemoteActivity.php @@ -23,6 +23,7 @@ use GuzzleHttp\Exception\ClientException; use OCA\Activity\Extension\Files; +use OCP\AppFramework\Utility\ITimeFactory; use OCP\BackgroundJob\QueuedJob; use OCP\Federation\ICloudId; use OCP\Federation\ICloudIdManager; @@ -35,7 +36,8 @@ class RemoteActivity extends QueuedJob { /** @var ICloudIdManager */ protected $cloudIdManager; - public function __construct(IClientService $clientService, ICloudIdManager $cloudIdManager) { + public function __construct(ITimeFactory $timeFactory, IClientService $clientService, ICloudIdManager $cloudIdManager) { + parent::__construct($timeFactory); $this->clientService = $clientService; $this->cloudIdManager = $cloudIdManager; }