diff options
author | Joas Schilling <coding@schilljs.com> | 2016-09-26 13:50:39 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-11-03 12:07:57 +0100 |
commit | 90578327d57856e26f3a81813c5fdcb3db99617b (patch) | |
tree | 90f3717aed74e1cc6db14542a72e5f89385fd35b /apps/dav/lib/AppInfo/Application.php | |
parent | e11197bc4872f2ada4740736969f4c96e24ea229 (diff) | |
download | nextcloud-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.php | 6 |
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() { |