aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-07-20 20:36:26 +0200
committerVincent Petry <vincent@nextcloud.com>2021-07-27 13:04:39 +0200
commitdac676c14ef7a3bd866a674c2ced666435d977c6 (patch)
treeac22860171df795acc5a6234394ec154f2cef638 /apps/federatedfilesharing/lib
parente67e90afce36edb18cebbc5f5799e427b891e114 (diff)
downloadnextcloud-server-dac676c14ef7a3bd866a674c2ced666435d977c6.tar.gz
nextcloud-server-dac676c14ef7a3bd866a674c2ced666435d977c6.zip
Replace ILogger with LoggerInterface in remote share manager
Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/federatedfilesharing/lib')
-rw-r--r--apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php b/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php
index 94fbb7870d5..916a8538c6e 100644
--- a/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php
+++ b/apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php
@@ -59,6 +59,7 @@ use OCP\Share\Exceptions\ShareNotFound;
use OCP\Share\IManager;
use OCP\Share\IShare;
use OCP\Util;
+use Psr\Log\LoggerInterface;
class CloudFederationProviderFiles implements ICloudFederationProvider {
@@ -251,7 +252,7 @@ class CloudFederationProviderFiles implements ICloudFederationProvider {
\OC::$server->getUserManager(),
$shareWith,
\OC::$server->query(IEventDispatcher::class),
- \OC::$server->getLogger()
+ \OC::$server->get(LoggerInterface::class)
);
try {