summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/AppInfo/Application.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-26 13:50:39 +0200
committerJoas Schilling <coding@schilljs.com>2016-11-03 12:07:57 +0100
commit90578327d57856e26f3a81813c5fdcb3db99617b (patch)
tree90f3717aed74e1cc6db14542a72e5f89385fd35b /apps/dav/lib/AppInfo/Application.php
parente11197bc4872f2ada4740736969f4c96e24ea229 (diff)
downloadnextcloud-server-90578327d57856e26f3a81813c5fdcb3db99617b.tar.gz
nextcloud-server-90578327d57856e26f3a81813c5fdcb3db99617b.zip
Start working on calendar activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/lib/AppInfo/Application.php')
-rw-r--r--apps/dav/lib/AppInfo/Application.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/dav/lib/AppInfo/Application.php b/apps/dav/lib/AppInfo/Application.php
index 2bdcff9cf84..d073131f00e 100644
--- a/apps/dav/lib/AppInfo/Application.php
+++ b/apps/dav/lib/AppInfo/Application.php
@@ -24,6 +24,7 @@
*/
namespace OCA\DAV\AppInfo;
+use OCA\DAV\CalDAV\Activity;
use OCA\DAV\CalDAV\BirthdayService;
use OCA\DAV\Capabilities;
use OCA\DAV\CardDAV\ContactsManager;
@@ -88,6 +89,11 @@ class Application extends App {
);
}
});
+
+ $aM = $this->getContainer()->getServer()->getActivityManager();
+ $aM->registerExtension(function() {
+ return $this->getContainer()->query(Activity::class);
+ });
}
public function getSyncService() {