diff options
Diffstat (limited to 'apps/dav/lib/Command/CreateCalendar.php')
-rw-r--r-- | apps/dav/lib/Command/CreateCalendar.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/Command/CreateCalendar.php b/apps/dav/lib/Command/CreateCalendar.php index 1d818809245..2bea82a345e 100644 --- a/apps/dav/lib/Command/CreateCalendar.php +++ b/apps/dav/lib/Command/CreateCalendar.php @@ -34,6 +34,7 @@ use OCP\IConfig; use OCP\IDBConnection; use OCP\IGroupManager; use OCP\IUserManager; +use Psr\Log\LoggerInterface; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; @@ -91,7 +92,7 @@ class CreateCalendar extends Command { \OC::$server->getL10NFactory(), ); $random = \OC::$server->getSecureRandom(); - $logger = \OC::$server->getLogger(); + $logger = \OC::$server->get(LoggerInterface::class); $dispatcher = \OC::$server->get(IEventDispatcher::class); $legacyDispatcher = \OC::$server->getEventDispatcher(); $config = \OC::$server->get(IConfig::class); |