diff options
author | Georg Ehrke <developer@georgehrke.com> | 2017-10-20 15:09:52 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2017-11-10 23:05:04 +0100 |
commit | dc346220083443376642a14c01c5da5af5d56e81 (patch) | |
tree | 1b5166daab35bfc70fff1042cd77b18117f383a5 /apps/dav/lib/RootCollection.php | |
parent | 8b22bfea4f1609605c3cebd40a50ed7a77929d3f (diff) | |
download | nextcloud-server-dc346220083443376642a14c01c5da5af5d56e81.tar.gz nextcloud-server-dc346220083443376642a14c01c5da5af5d56e81.zip |
remember when a user deleted their contact birthdays calendar
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav/lib/RootCollection.php')
-rw-r--r-- | apps/dav/lib/RootCollection.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/RootCollection.php b/apps/dav/lib/RootCollection.php index e4ba1f2c02a..a382f77cfdd 100644 --- a/apps/dav/lib/RootCollection.php +++ b/apps/dav/lib/RootCollection.php @@ -39,6 +39,7 @@ class RootCollection extends SimpleCollection { public function __construct() { $config = \OC::$server->getConfig(); + $l10n = \OC::$server->getL10N('dav'); $random = \OC::$server->getSecureRandom(); $userManager = \OC::$server->getUserManager(); $groupManager = \OC::$server->getGroupManager(); @@ -64,7 +65,7 @@ class RootCollection extends SimpleCollection { $caldavBackend = new CalDavBackend($db, $userPrincipalBackend, $userManager, $groupManager, $random, $dispatcher); $calendarRoot = new CalendarRoot($userPrincipalBackend, $caldavBackend, 'principals/users'); $calendarRoot->disableListing = $disableListing; - $publicCalendarRoot = new PublicCalendarRoot($caldavBackend); + $publicCalendarRoot = new PublicCalendarRoot($caldavBackend, $l10n, $config); $publicCalendarRoot->disableListing = $disableListing; $systemTagCollection = new SystemTag\SystemTagsByIdCollection( |