diff options
author | Georg Ehrke <developer@georgehrke.com> | 2018-10-24 18:39:30 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2018-10-24 18:39:30 +0200 |
commit | 5c51d84a674f7f91b91666596f4619892003bf63 (patch) | |
tree | d398a2e9eb9b4d652722f4eb6457639b1df197fd /apps/dav | |
parent | 410bd9d784fdd3f365cd1755f46265fbb28fbc15 (diff) | |
download | nextcloud-server-5c51d84a674f7f91b91666596f4619892003bf63.tar.gz nextcloud-server-5c51d84a674f7f91b91666596f4619892003bf63.zip |
Calendar invitation: use system default instead of sender's language as fallback
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/dav')
-rw-r--r-- | apps/dav/lib/CalDAV/Schedule/IMipPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php index 6f303acba33..3ff3ed0c569 100644 --- a/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php +++ b/apps/dav/lib/CalDAV/Schedule/IMipPlugin.php @@ -170,7 +170,7 @@ class IMipPlugin extends SabreIMipPlugin { $vevent = $iTipMessage->message->VEVENT; $attendee = $this->getCurrentAttendee($iTipMessage); - $defaultLang = $this->config->getUserValue($this->userId, 'core', 'lang', $this->l10nFactory->findLanguage()); + $defaultLang = $this->l10nFactory->findLanguage(); $lang = $this->getAttendeeLangOrDefault($defaultLang, $attendee); $l10n = $this->l10nFactory->get('dav', $lang); |