diff options
author | Thomas Citharel <tcit@tcit.fr> | 2021-08-16 17:55:27 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2021-08-16 19:03:00 +0200 |
commit | a7b9b398a35c914b39c8eb41f920612a5f21eb36 (patch) | |
tree | 696a300f8e7a33827653628464b15b0506f02035 /apps/dav/lib/Command | |
parent | 5da42273805160f75436f53b829b17e7b4ed2054 (diff) | |
download | nextcloud-server-a7b9b398a35c914b39c8eb41f920612a5f21eb36.tar.gz nextcloud-server-a7b9b398a35c914b39c8eb41f920612a5f21eb36.zip |
Expose user language through DAV
Introduces the '{http://nextcloud.com/ns}language' prop that gives the
user's language
Closes #28449
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/lib/Command')
-rw-r--r-- | apps/dav/lib/Command/CreateCalendar.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/dav/lib/Command/CreateCalendar.php b/apps/dav/lib/Command/CreateCalendar.php index 4d2012b0d39..1d818809245 100644 --- a/apps/dav/lib/Command/CreateCalendar.php +++ b/apps/dav/lib/Command/CreateCalendar.php @@ -87,7 +87,8 @@ class CreateCalendar extends Command { \OC::$server->getAppManager(), \OC::$server->query(ProxyMapper::class), \OC::$server->get(KnownUserService::class), - \OC::$server->getConfig() + \OC::$server->getConfig(), + \OC::$server->getL10NFactory(), ); $random = \OC::$server->getSecureRandom(); $logger = \OC::$server->getLogger(); |