diff options
author | Thomas Citharel <tcit@tcit.fr> | 2021-08-16 18:55:27 +0300 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2021-08-16 20:03:00 +0300 |
commit | a7b9b398a35c914b39c8eb41f920612a5f21eb36 (patch) | |
tree | 696a300f8e7a33827653628464b15b0506f02035 /apps/files_versions/lib | |
parent | 5da42273805160f75436f53b829b17e7b4ed2054 (diff) |
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/lib')
-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), ); }); |