summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-10-13 11:04:22 +0200
committerJoas Schilling <coding@schilljs.com>2016-11-03 12:07:58 +0100
commit07f6747305d23dfb16ad3c63b968f974771aa145 (patch)
tree70011903c7b4eec212260d4af5795034907e0ba9 /apps/dav/appinfo
parent776622f3de8fab30add0c83bf0331c57615467df (diff)
downloadnextcloud-server-07f6747305d23dfb16ad3c63b968f974771aa145.tar.gz
nextcloud-server-07f6747305d23dfb16ad3c63b968f974771aa145.zip
Move the methods into a new class
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/v1/caldav.php6
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);