aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_App.php5
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
);