update wording for disabled web updater

Signed-off-by: Simon L <szaimen@e.mail.de>
pull/37048/head
Simon L 3 years ago
parent a5370fc71e
commit f8bb8dc3a0
  1. 2
      core/ajax/update.php

@ -100,7 +100,7 @@ class FeedBackHandler {
if (\OCP\Util::needUpgrade()) {
$config = \OC::$server->getSystemConfig();
if ($config->getValue('upgrade.disable-web', false)) {
$eventSource->send('failure', $l->t('Please use the command line updater because automatic updating is disabled in the config.php.'));
$eventSource->send('failure', $l->t('Please use the command line updater because updating via the browser is disabled in your config.php.'));
$eventSource->close();
exit();
}

Loading…
Cancel
Save