diff options
author | Joas Schilling <coding@schilljs.com> | 2017-01-20 17:47:45 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-01-23 12:04:46 +0100 |
commit | 18d7701d09b90ff58e69aa63454fe830c31ef2e7 (patch) | |
tree | f486150b4c0c1fc09e80e5984048defa6950d080 /version.php | |
parent | 33ca69166a41188a6e19849243c5e1c2a16860dc (diff) | |
download | nextcloud-server-18d7701d09b90ff58e69aa63454fe830c31ef2e7.tar.gz nextcloud-server-18d7701d09b90ff58e69aa63454fe830c31ef2e7.zip |
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.php | 10 |
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'; |