summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-10-27 21:25:11 +0100
committerMorris Jobke <hey@morrisjobke.de>2015-10-27 21:25:11 +0100
commit3b249f19677996cf0b83e82b663b09254160898e (patch)
treeb73f9ce50e55d59ef92ffd405a0713b14b725add /core/ajax
parent588a668455536a576bfe0b42ef61806dfeab61bc (diff)
downloadnextcloud-server-3b249f19677996cf0b83e82b663b09254160898e.tar.gz
nextcloud-server-3b249f19677996cf0b83e82b663b09254160898e.zip
Revert "setting to skip migration tests by default"
This reverts commit 7cbdd9b90bcea3566b7d0198f23da3d427e6ef45.
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/update.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index d6dfa071090..54038a479fb 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -42,21 +42,12 @@ if (OC::checkUpgrade(false)) {
// avoid side effects
\OC_User::setIncognitoMode(true);
-
-
$logger = \OC::$server->getLogger();
- $config = \OC::$server->getConfig();
$updater = new \OC\Updater(
\OC::$server->getHTTPHelper(),
- $config,
+ \OC::$server->getConfig(),
$logger
);
-
- if ($config->getSystemValue('update.skip-migration-test', false)) {
- $eventSource->send('success', (string)$l->t('Migration tests are skipped - "update.skip-migration-test" is activated in config.php'));
- $updater->setSimulateStepEnabled(false);
- }
-
$incompatibleApps = [];
$disabledThirdPartyApps = [];