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