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; }