Skip to content

Commit

Permalink
Merge pull request #1813 from nextcloud/backport/1811/stable28
Browse files Browse the repository at this point in the history
[stable28] fix/remote activity constructor
  • Loading branch information
juliusknorr authored Oct 16, 2024
2 parents ebb42fc + e066cc7 commit f7f697c
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 @@ -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;
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 f7f697c

Please sign in to comment.