summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-28 09:19:53 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-28 09:19:53 +0100
commitf8012fd7348a6923711f49b1a30832a5ecb24aff (patch)
tree1274850fb4d71e01d5a40481bb58df0cead46c88 /core
parentd74811fcc8dd6939cdc328ec78a9ff61d3dea6a9 (diff)
parent3b249f19677996cf0b83e82b663b09254160898e (diff)
downloadnextcloud-server-f8012fd7348a6923711f49b1a30832a5ecb24aff.tar.gz
nextcloud-server-f8012fd7348a6923711f49b1a30832a5ecb24aff.zip
Merge pull request #20097 from owncloud/revert-19508
Revert "setting to skip migration tests by default"
Diffstat (limited to 'core')
-rw-r--r--core/ajax/update.php11
-rw-r--r--core/command/upgrade.php6
2 files changed, 1 insertions, 16 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 = [];
diff --git a/core/command/upgrade.php b/core/command/upgrade.php
index 9c313f83e14..d1a7c09c30c 100644
--- a/core/command/upgrade.php
+++ b/core/command/upgrade.php
@@ -96,12 +96,6 @@ class Upgrade extends Command {
$updateStepEnabled = true;
$skip3rdPartyAppsDisable = false;
- if ($this->config->getSystemValue('update.skip-migration-test', false)) {
- $output->writeln(
- '<info>"skip-migration-test" is activated via config.php</info>'
- );
- $simulateStepEnabled = false;
- }
if ($input->getOption('skip-migration-test')) {
$simulateStepEnabled = false;
}