aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-10-24 12:53:43 +0200
committerJulius Härtl <jus@bitgrid.net>2018-10-24 12:53:43 +0200
commit86f29ffdbcc4500c738fd20bf253b20aafea3ac3 (patch)
tree009dbfb673684a6cde2ad0501e860e7d93919379
parent3b3824c48604725c31107b9f98911f2c592f76f3 (diff)
downloadnextcloud-server-86f29ffdbcc4500c738fd20bf253b20aafea3ac3.tar.gz
nextcloud-server-86f29ffdbcc4500c738fd20bf253b20aafea3ac3.zip
Register IAccountManager as a service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--lib/private/Server.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index e0bd8084282..32d7705919c 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -124,6 +124,7 @@ use OC\Dashboard\DashboardManager;
use OCA\Theming\ImageManager;
use OCA\Theming\ThemingDefaults;
+use OCP\Accounts\IAccountManager;
use OCP\App\IAppManager;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\Collaboration\AutoComplete\IManager;
@@ -1175,6 +1176,7 @@ class Server extends ServerContainer implements IServerContainer {
);
});
$this->registerAlias(IContactsStore::class, ContactsStore::class);
+ $this->registerAlias(IAccountManager::class, AccountManager::class);
$this->registerService(IStorageFactory::class, function() {
return new StorageFactory();