Skip to content

Commit

Permalink
Merge pull request #1814 from nextcloud/backport/1811/stable29
Browse files Browse the repository at this point in the history
[stable29] fix/remote activity constructor
  • Loading branch information
juliusknorr authored Oct 16, 2024
2 parents 2db0607 + bcc8c59 commit 010a992
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/BackgroundJob/RemoteActivity.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
Expand Down

0 comments on commit 010a992

Please sign in to comment.