From 14607f75eb259af2650bb21fb529551c8b6a4b4e Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Fri, 15 Nov 2024 11:12:16 +0100 Subject: [PATCH] Revert "[stable28] fix/remote activity constructor" --- lib/BackgroundJob/RemoteActivity.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/BackgroundJob/RemoteActivity.php b/lib/BackgroundJob/RemoteActivity.php index c7a5ccd7d..6ef19bedd 100644 --- a/lib/BackgroundJob/RemoteActivity.php +++ b/lib/BackgroundJob/RemoteActivity.php @@ -24,7 +24,6 @@ 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; @@ -36,8 +35,7 @@ class RemoteActivity extends QueuedJob { /** @var ICloudIdManager */ protected $cloudIdManager; - public function __construct(ITimeFactory $timeFactory, IClientService $clientService, ICloudIdManager $cloudIdManager) { - parent::__construct($timeFactory); + public function __construct(IClientService $clientService, ICloudIdManager $cloudIdManager) { $this->clientService = $clientService; $this->cloudIdManager = $cloudIdManager; }