summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-11-20 14:22:00 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2019-12-03 08:03:57 +0100
commitcc80339b39d998c615a5648d2c86b1e431a8b023 (patch)
tree3fed2c67f37db1e9746bc79013f17a2463896d73 /lib/private/Server.php
parente5c95eed69a1d5e96b69147e4e7f6e40d21c8f9b (diff)
downloadnextcloud-server-cc80339b39d998c615a5648d2c86b1e431a8b023.tar.gz
nextcloud-server-cc80339b39d998c615a5648d2c86b1e431a8b023.zip
Add typed create user events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 9fb197fcb18..fa2a521b6b1 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -317,9 +317,6 @@ class Server extends ServerContainer implements IServerContainer {
});
$this->registerAlias('LazyRootFolder', \OCP\Files\IRootFolder::class);
- $this->registerService(\OC\User\Manager::class, function (Server $c) {
- return new \OC\User\Manager($c->getConfig(), $c->getEventDispatcher());
- });
$this->registerAlias('UserManager', \OC\User\Manager::class);
$this->registerAlias(\OCP\IUserManager::class, \OC\User\Manager::class);