diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-02-03 12:59:47 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-02-03 12:59:47 +0100 |
commit | 0a66734416e33c8f537c347b24fcc9f46bb37676 (patch) | |
tree | c467025e60220dca0f9c7013a93d45f9be957e91 | |
parent | 621f54da514af548bf900f7a1c64af046f53b86d (diff) | |
download | nextcloud-server-0a66734416e33c8f537c347b24fcc9f46bb37676.tar.gz nextcloud-server-0a66734416e33c8f537c347b24fcc9f46bb37676.zip |
Revert "setting to skip migration tests by default"
-rw-r--r-- | config/config.sample.php | 9 | ||||
-rw-r--r-- | core/ajax/update.php | 6 | ||||
-rw-r--r-- | core/command/upgrade.php | 6 |
3 files changed, 0 insertions, 21 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index bdbf3f42046..81a02efb3f7 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -1196,15 +1196,6 @@ $CONFIG = array( 'debug' => false, /** - * Skips the migration test during upgrades - * - * If this is set to true the migration test are deactivated during upgrade. - * This is only recommended in installations where upgrade tests are run in - * advance with the same data on a test system. - */ -'update.skip-migration-test' => false, - -/** * This entry is just here to show a warning in case somebody copied the sample * configuration. DO NOT ADD THIS SWITCH TO YOUR CONFIGURATION! * diff --git a/core/ajax/update.php b/core/ajax/update.php index 15daff4e1de..4d8fe19f168 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -50,12 +50,6 @@ if (OC::checkUpgrade(false)) { \OC::$server->getIntegrityCodeChecker(), $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 2123efdfd38..c45984d7a30 100644 --- a/core/command/upgrade.php +++ b/core/command/upgrade.php @@ -99,12 +99,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; } |