From e066cc72a34775141baa0ca249321a203af8e473 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 6ef19bedd..c7a5ccd7d 100644 --- a/lib/BackgroundJob/RemoteActivity.php +++ b/lib/BackgroundJob/RemoteActivity.php @@ -24,6 +24,7 @@ use GuzzleHttp\Exception\ClientException; use OC\BackgroundJob\QueuedJob; use OCA\Activity\Extension\Files; +use OCP\AppFramework\Utility\ITimeFactory; use OCP\Federation\ICloudId; use OCP\Federation\ICloudIdManager; use OCP\Http\Client\IClientService; @@ -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; }