diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2021-10-13 11:37:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 11:37:22 +0200 |
commit | 4cae2cc06cdaadb797ab6bedc6dc4da8b90f85c9 (patch) | |
tree | 281c9140c796806a99c591df619c11b1ec4e4fbd /lib/private/legacy | |
parent | e163d199d810562da8bc959bf8be843ddbeac118 (diff) | |
parent | 37f40cdd468a2826f6269bacc81ff74d8c606d23 (diff) | |
download | nextcloud-server-4cae2cc06cdaadb797ab6bedc6dc4da8b90f85c9.tar.gz nextcloud-server-4cae2cc06cdaadb797ab6bedc6dc4da8b90f85c9.zip |
Merge pull request #29004 from nextcloud/bugfix/noid/fix-translated-app-details
Fix translated app details
Diffstat (limited to 'lib/private/legacy')
-rw-r--r-- | lib/private/legacy/OC_App.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/legacy/OC_App.php b/lib/private/legacy/OC_App.php index 101523fcfe7..1ce3662000e 100644 --- a/lib/private/legacy/OC_App.php +++ b/lib/private/legacy/OC_App.php @@ -992,13 +992,14 @@ class OC_App { } \OC::$server->getAppManager()->clearAppsCache(); - $appData = self::getAppInfo($appId); + $l = \OC::$server->getL10N('core'); + $appData = self::getAppInfo($appId, false, $l->getLanguageCode()); $ignoreMaxApps = \OC::$server->getConfig()->getSystemValue('app_install_overwrite', []); $ignoreMax = in_array($appId, $ignoreMaxApps, true); \OC_App::checkAppDependencies( \OC::$server->getConfig(), - \OC::$server->getL10N('core'), + $l, $appData, $ignoreMax ); |