diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-10-01 15:23:25 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-02-03 11:08:27 +0300 |
commit | 2e444e6e372d1370be46966e800aca073540a77f (patch) | |
tree | e93ded5e5540ef09514b7fae4a54dcc7c0ff30b7 /core/ajax | |
parent | 77942ad38afb982c3b7efa841a9bb0b46a0c039a (diff) |
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/ajax')
-rw-r--r-- | core/ajax/update.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php index 4d8fe19f168..15daff4e1de 100644 --- a/core/ajax/update.php +++ b/core/ajax/update.php @@ -50,6 +50,12 @@ 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 = []; |