diff options
Diffstat (limited to 'apps/dav/appinfo/v1/caldav.php')
-rw-r--r-- | apps/dav/appinfo/v1/caldav.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/dav/appinfo/v1/caldav.php b/apps/dav/appinfo/v1/caldav.php index ecd6a171235..9f12a92f4cd 100644 --- a/apps/dav/appinfo/v1/caldav.php +++ b/apps/dav/appinfo/v1/caldav.php @@ -48,10 +48,8 @@ $principalBackend = new Principal( $db = \OC::$server->getDatabaseConnection(); $userManager = \OC::$server->getUserManager(); $random = \OC::$server->getSecureRandom(); -$groupManager = \OC::$server->getGroupManager(); -$activityManager = \OC::$server->getActivityManager(); -$userSession = \OC::$server->getUserSession(); -$calDavBackend = new CalDavBackend($db, $principalBackend, $userManager, $groupManager, $random, $activityManager, $userSession); +$dispatcher = \OC::$server->getEventDispatcher(); +$calDavBackend = new CalDavBackend($db, $principalBackend, $userManager, $random, $dispatcher); $debugging = \OC::$server->getConfig()->getSystemValue('debug', false); |