Merge pull request #32173 from nextcloud/Valdnet-patch-3

This commit is contained in:
John Molakvoæ 2022-04-27 10:29:19 +02:00 committed by GitHub
commit b1cb2e5340
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -739,7 +739,7 @@ class OC_Util {
foreach (['secret', 'instanceid', 'passwordsalt'] as $requiredConfig) {
if ($config->getValue($requiredConfig, '') === '' && !\OC::$CLI && $config->getValue('installed', false)) {
$errors[] = [
'error' => $l->t('The required \'' . $requiredConfig . '\' config variable is not configued in the config.php file.'),
'error' => $l->t('The required %s config variable is not configued in the config.php file.', [$requiredConfig]),
'hint' => $l->t('Please ask your server administrator to check the Nextcloud configuration.')
];
}