Skip to content

Commit

Permalink
Merge pull request #40116 from summersab/refactor/OC-Server-getCloudF…
Browse files Browse the repository at this point in the history
…ederationFactory
  • Loading branch information
skjnldsv authored Mar 15, 2024
2 parents f5e3fea + 7ecd474 commit e0faca6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/private/Share20/ProviderFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Defaults;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\Federation\ICloudFederationFactory;
use OCP\Files\IRootFolder;
use OCP\IServerContainer;
use OCP\Security\IHasher;
Expand Down Expand Up @@ -144,7 +145,7 @@ protected function federatedShareProvider() {
$this->serverContainer->query(\OCP\OCS\IDiscoveryService::class),
$this->serverContainer->getJobList(),
\OC::$server->getCloudFederationProviderManager(),
\OC::$server->getCloudFederationFactory(),
\OC::$server->get(ICloudFederationFactory::class),
$this->serverContainer->query(IEventDispatcher::class),
$this->serverContainer->get(LoggerInterface::class),
);
Expand Down

0 comments on commit e0faca6

Please sign in to comment.