diff options
author | Joas Schilling <coding@schilljs.com> | 2016-10-13 15:34:26 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-11-03 12:07:59 +0100 |
commit | 52dd27892b80ab91d0776c45d05d8447ac24b76e (patch) | |
tree | 56457a3d0eb6119bbe200413557bcb6d76a7329a /apps/dav/appinfo/v1/caldav.php | |
parent | d3e8463de28197de2d4d61c35906b020ec85b432 (diff) | |
download | nextcloud-server-52dd27892b80ab91d0776c45d05d8447ac24b76e.tar.gz nextcloud-server-52dd27892b80ab91d0776c45d05d8447ac24b76e.zip |
Use the event dispatcher
Signed-off-by: Joas Schilling <coding@schilljs.com>
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); |