Skip to content

Commit

Permalink
Removes useless service registration
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
  • Loading branch information
weeman1337 committed Aug 9, 2018
1 parent bb15767 commit 71a3ae5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/private/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,6 @@ public function __construct($webRoot, \OC\Config $config) {
});
$this->registerAlias('SystemTagManager', \OCP\SystemTag\ISystemTagManager::class);

$this->registerService(MemoryInfo::class, function() {
return new MemoryInfo();
});

$this->registerService(\OCP\SystemTag\ISystemTagObjectMapper::class, function (Server $c) {
return $c->query('SystemTagManagerFactory')->getObjectMapper();
});
Expand Down

0 comments on commit 71a3ae5

Please sign in to comment.