Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 39b15ca..3d2ee0b 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -42,6 +42,9 @@ class Application extends App {
return $c->query('ServerContainer')->getConfig();
});
+ $container->registerService('UserManager', function($c) {
+ return $c->query('ServerContainer')->getUserManager();
+ });
$this->connectWatcher($container);
}