summaryrefslogtreecommitdiffstats
path: root/core/ajax/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/ajax/update.php')
-rw-r--r--core/ajax/update.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index 34c65b56c58..58d64347a36 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -105,7 +105,6 @@ class FeedBackHandler {
}
if (\OCP\Util::needUpgrade()) {
-
$config = \OC::$server->getSystemConfig();
if ($config->getValue('upgrade.disable-web', false)) {
$eventSource->send('failure', (string)$l->t('Please use the command line updater because automatic updating is disabled in the config.php.'));