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/files_versions | |
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/files_versions')
-rw-r--r-- | apps/files_versions/lib/AppInfo/Application.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_versions/lib/AppInfo/Application.php b/apps/files_versions/lib/AppInfo/Application.php index f0d182043c1..c994cd2f54a 100644 --- a/apps/files_versions/lib/AppInfo/Application.php +++ b/apps/files_versions/lib/AppInfo/Application.php @@ -48,6 +48,7 @@ use OCP\IGroupManager; use OCP\IServerContainer; use OCP\IUserManager; use OCP\IUserSession; +use OCP\L10N\IFactory; use OCP\Share\IManager as IShareManager; use Psr\Container\ContainerInterface; use Psr\Log\LoggerInterface; @@ -79,7 +80,8 @@ class Application extends App implements IBootstrap { $server->get(IAppManager::class), $server->get(ProxyMapper::class), $server->get(KnownUserService::class), - $server->get(IConfig::class) + $server->get(IConfig::class), + $server->get(IFactory::class), ); }); |