diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-05 11:20:16 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-02-05 11:30:53 +0100 |
commit | 070ff71a2d18aa0f94fac51c2caecdcea963887e (patch) | |
tree | 1ef71f6e4e55faffd4cdf6bd81b8588e5e12ec86 /lib/private | |
parent | e86dcdacc8b1167a461b399c39c8aaf556ee4a7c (diff) | |
download | nextcloud-server-070ff71a2d18aa0f94fac51c2caecdcea963887e.tar.gz nextcloud-server-070ff71a2d18aa0f94fac51c2caecdcea963887e.zip |
Add activities for comments
Diffstat (limited to 'lib/private')
-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 5fc45fdd2e8..f74fe4aeb99 100644 --- a/lib/private/appframework/dependencyinjection/dicontainer.php +++ b/lib/private/appframework/dependencyinjection/dicontainer.php @@ -104,6 +104,10 @@ class DIContainer extends SimpleContainer implements IAppContainer { return $this->getServer()->getCapabilitiesManager(); }); + $this->registerService('OCP\Comments\ICommentsManager', function($c) { + return $this->getServer()->getCommentsManager(); + }); + $this->registerService('OCP\\IConfig', function($c) { return $this->getServer()->getConfig(); }); |