Signed-off-by: Simon L <szaimen@e.mail.de>
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();
}