Skip to content

Commit

Permalink
Merge pull request #1842 from nextcloud/revert-1813-backport/1811/sta…
Browse files Browse the repository at this point in the history
…ble28

Revert "[stable28] fix/remote activity constructor"
  • Loading branch information
juliusknorr authored Nov 18, 2024
2 parents 0532074 + 4c79562 commit 981c0be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/BackgroundJob/RemoteActivity.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
}
Expand Down

0 comments on commit 981c0be

Please sign in to comment.