diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-10-01 14:23:25 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-02-03 09:08:27 +0100 |
commit | 2e444e6e372d1370be46966e800aca073540a77f (patch) | |
tree | e93ded5e5540ef09514b7fae4a54dcc7c0ff30b7 /core/command | |
parent | 77942ad38afb982c3b7efa841a9bb0b46a0c039a (diff) | |
download | nextcloud-server-2e444e6e372d1370be46966e800aca073540a77f.tar.gz nextcloud-server-2e444e6e372d1370be46966e800aca073540a77f.zip |
setting to skip migration tests by default
* if you install owncloud via package it is not
possible to skip migration tests
* this also allows to disable migration tests for
an instance by default
Diffstat (limited to 'core/command')
-rw-r--r-- | core/command/upgrade.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/command/upgrade.php b/core/command/upgrade.php index c45984d7a30..2123efdfd38 100644 --- a/core/command/upgrade.php +++ b/core/command/upgrade.php @@ -99,6 +99,12 @@ 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; } |