diff options
author | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-27 14:48:52 +0100 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2016-01-27 22:04:37 +0100 |
commit | f2e70441e42a17b27248b93a05b0008717b124b1 (patch) | |
tree | e3504e90449a663f31089f6efe0d46a86047457e /lib/private/appframework | |
parent | 357b271cb48c71de22a9de594fba4b3e265cadeb (diff) | |
download | nextcloud-server-f2e70441e42a17b27248b93a05b0008717b124b1.tar.gz nextcloud-server-f2e70441e42a17b27248b93a05b0008717b124b1.zip |
[Share 2.0] Add getShareManager to OCP\IServerContainer
Diffstat (limited to 'lib/private/appframework')
-rw-r--r-- | lib/private/appframework/dependencyinjection/dicontainer.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/appframework/dependencyinjection/dicontainer.php b/lib/private/appframework/dependencyinjection/dicontainer.php index 175d6c747e4..61a04482431 100644 --- a/lib/private/appframework/dependencyinjection/dicontainer.php +++ b/lib/private/appframework/dependencyinjection/dicontainer.php @@ -227,6 +227,10 @@ class DIContainer extends SimpleContainer implements IAppContainer { return $this->getServer()->getSecureRandom(); }); + $this->registerService('OCP\\Share\\IManager', function($c) { + return $this->getServer()->getShareManager(); + }); + $this->registerService('OCP\\SystemTag\\ISystemTagManager', function() { return $this->getServer()->getSystemTagManager(); }); |