This translation was done in each call. Over and over and over again.
All while it was probably not used in 99.99999% of the cases. A small
gain. But still.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
];
$missingDependencies = [];
$invalidIniSettings = [];
- $moduleHint = $l->t('Please ask your server administrator to install the module.');
$iniWrapper = \OC::$server->getIniWrapper();
foreach ($dependencies['classes'] as $class => $module) {
foreach ($missingDependencies as $missingDependency) {
$errors[] = [
'error' => $l->t('PHP module %s not installed.', [$missingDependency]),
- 'hint' => $moduleHint
+ 'hint' => $l->t('Please ask your server administrator to install the module.'),
];
$webServerRestart = true;
}