summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-02-05 11:20:16 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-02-05 11:30:53 +0100
commit070ff71a2d18aa0f94fac51c2caecdcea963887e (patch)
tree1ef71f6e4e55faffd4cdf6bd81b8588e5e12ec86 /lib/private
parente86dcdacc8b1167a461b399c39c8aaf556ee4a7c (diff)
downloadnextcloud-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.php4
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();
});