Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/ajax
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-10-01 15:23:25 +0300
committerMorris Jobke <hey@morrisjobke.de>2016-02-03 11:08:27 +0300
commit2e444e6e372d1370be46966e800aca073540a77f (patch)
treee93ded5e5540ef09514b7fae4a54dcc7c0ff30b7 /core/ajax
parent77942ad38afb982c3b7efa841a9bb0b46a0c039a (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.php6
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 = [];