summaryrefslogtreecommitdiffstats
path: root/version.php
diff options
context:
space:
mode:
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';