Skip to content

Commit

Permalink
fix: Properly call parent constructor for remote activity job
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Knorr <jus@bitgrid.net>
  • Loading branch information
juliusknorr authored and backportbot[bot] committed Oct 14, 2024
1 parent 3b4dc3a commit 0b13ba8
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 @@ -8,6 +8,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 @@ -20,7 +21,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 0b13ba8

Please sign in to comment.