diff options
author | Joas Schilling <coding@schilljs.com> | 2016-10-13 11:04:22 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-11-03 12:07:58 +0100 |
commit | 07f6747305d23dfb16ad3c63b968f974771aa145 (patch) | |
tree | 70011903c7b4eec212260d4af5795034907e0ba9 /apps/dav/appinfo | |
parent | 776622f3de8fab30add0c83bf0331c57615467df (diff) | |
download | nextcloud-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.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); |