diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-09 10:21:51 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-09 20:56:31 +0200 |
commit | 02449c83365fae8d5a47b001b18605478122bd86 (patch) | |
tree | 78fa85da82809028ade6596aea785b97764303b7 /core/Application.php | |
parent | 575875e8d03e1396bcdb1fac75a7c6076fd92287 (diff) | |
download | nextcloud-server-02449c83365fae8d5a47b001b18605478122bd86.tar.gz nextcloud-server-02449c83365fae8d5a47b001b18605478122bd86.zip |
Move getCapabilities over to Core
Diffstat (limited to 'core/Application.php')
-rw-r--r-- | core/Application.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/Application.php b/core/Application.php index a0deaff2b93..e8c924432d1 100644 --- a/core/Application.php +++ b/core/Application.php @@ -186,6 +186,9 @@ class Application extends App { $container->registerService('TwoFactorAuthManager', function(SimpleContainer $c) { return $c->query('ServerContainer')->getTwoFactorAuthManager(); }); + $container->registerService('OC\CapabilitiesManager', function(SimpleContainer $c) { + return $c->query('ServerContainer')->getCapabilitiesManager(); + }); } } |