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
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-01-20 19:47:45 +0300
committerJoas Schilling <coding@schilljs.com>2017-01-23 14:04:46 +0300
commit18d7701d09b90ff58e69aa63454fe830c31ef2e7 (patch)
treef486150b4c0c1fc09e80e5984048defa6950d080 /version.php
parent33ca69166a41188a6e19849243c5e1c2a16860dc (diff)
Prevent migration from ownCloud 11 to Nextcloud 12
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'version.php')
-rw-r--r--version.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/version.php b/version.php
index 90f4e65055a..3d8abb5f2f4 100644
--- a/version.php
+++ b/version.php
@@ -31,7 +31,15 @@ $OC_Version = array(12, 0, 0, 12);
// The human readable string
$OC_VersionString = '12.0 alpha';
-$OC_VersionCanBeUpgradedFrom = array(11);
+$OC_VersionCanBeUpgradedFrom = [
+ 'nextcloud' => [
+ '11.0' => true,
+ '12.0' => true,
+ ],
+ 'owncloud' => [
+ '10.0' => true,
+ ],
+];
// default Nextcloud channel
$OC_Channel = 'git';