From dac676c14ef7a3bd866a674c2ced666435d977c6 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 20 Jul 2021 20:36:26 +0200 Subject: Replace ILogger with LoggerInterface in remote share manager Signed-off-by: Vincent Petry Co-authored-by: Carl Schwan --- apps/files_sharing/lib/AppInfo/Application.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files_sharing/lib/AppInfo') 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) ); }); -- cgit v1.2.3