aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/AppInfo
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/files_sharing/lib/AppInfo
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/files_sharing/lib/AppInfo')
-rw-r--r--apps/files_sharing/lib/AppInfo/Application.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/AppInfo/Application.php b/apps/files_sharing/lib/AppInfo/Application.php
index 3975a8a3bde..2dfbe4d86a5 100644
--- a/apps/files_sharing/lib/AppInfo/Application.php
+++ b/apps/files_sharing/lib/AppInfo/Application.php
@@ -60,6 +60,7 @@ use OCP\Share\Events\ShareCreatedEvent;
use OCP\Share\IManager;
use OCP\Util;
use Psr\Container\ContainerInterface;
+use Psr\Log\LoggerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\GenericEvent;
@@ -99,7 +100,7 @@ class Application extends App {
$server->getUserManager(),
$uid,
$server->query(IEventDispatcher::class),
- $server->getLogger()
+ $server->get(LoggerInterface::class)
);
});