diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2023-07-05 11:42:41 +0200 |
---|---|---|
committer | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2023-07-07 09:00:35 +0200 |
commit | 45b3f6e2b32bbfe0a180040eab4b84af00d39453 (patch) | |
tree | d468acde4cc1d83f96db9379b36987214cb0cb06 /lib/private/Share20 | |
parent | a9ba19d3d494a306c06e8ed1002e1639d69fae3e (diff) | |
download | nextcloud-server-45b3f6e2b32bbfe0a180040eab4b84af00d39453.tar.gz nextcloud-server-45b3f6e2b32bbfe0a180040eab4b84af00d39453.zip |
Migrate federated file sharing to PSR LoggerInterface
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r-- | lib/private/Share20/ProviderFactory.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Share20/ProviderFactory.php b/lib/private/Share20/ProviderFactory.php index 6abfb372a4d..8c01d660915 100644 --- a/lib/private/Share20/ProviderFactory.php +++ b/lib/private/Share20/ProviderFactory.php @@ -139,11 +139,11 @@ class ProviderFactory implements IProviderFactory { $addressHandler, $this->serverContainer->getHTTPClientService(), $this->serverContainer->query(\OCP\OCS\IDiscoveryService::class), - $this->serverContainer->getLogger(), $this->serverContainer->getJobList(), \OC::$server->getCloudFederationProviderManager(), \OC::$server->getCloudFederationFactory(), - $this->serverContainer->query(IEventDispatcher::class) + $this->serverContainer->query(IEventDispatcher::class), + $this->serverContainer->get(LoggerInterface::class), ); $tokenHandler = new TokenHandler( $this->serverContainer->getSecureRandom() @@ -155,13 +155,13 @@ class ProviderFactory implements IProviderFactory { $notifications, $tokenHandler, $l, - $this->serverContainer->getLogger(), $this->serverContainer->getLazyRootFolder(), $this->serverContainer->getConfig(), $this->serverContainer->getUserManager(), $this->serverContainer->getCloudIdManager(), $this->serverContainer->getGlobalScaleConfig(), - $this->serverContainer->getCloudFederationProviderManager() + $this->serverContainer->getCloudFederationProviderManager(), + $this->serverContainer->get(LoggerInterface::class), ); } |