Skip to content

Commit 922546d

Browse files
susnuxpull[bot]
authored andcommitted
chore!: Remove OC\AppFramework\Logger
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 08bbccc commit 922546d

File tree

2 files changed

+0
-112
lines changed

2 files changed

+0
-112
lines changed

lib/private/AppFramework/DependencyInjection/DIContainer.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
use OCP\IGroupManager;
4040
use OCP\IInitialStateService;
4141
use OCP\IL10N;
42-
use OCP\ILogger;
4342
use OCP\INavigationManager;
4443
use OCP\IRequest;
4544
use OCP\IServerContainer;
@@ -120,9 +119,6 @@ public function __construct(string $appName, array $urlParams = [], ?ServerConta
120119
$c->get('AppName')
121120
);
122121
});
123-
$this->registerService(ILogger::class, function (ContainerInterface $c) {
124-
return new OC\AppFramework\Logger($this->server->query(ILogger::class), $c->get('AppName'));
125-
});
126122

127123
$this->registerService(IServerContainer::class, function () {
128124
return $this->getServer();

lib/private/AppFramework/Logger.php

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)