2023-09-12 03:32:49 +02:00
|
|
|
diff --git a/lib/private/Updater.php b/lib/private/Updater.php
|
|
|
|
index 5a14bb17507..38dcb55db7f 100644
|
|
|
|
--- a/lib/private/Updater.php
|
|
|
|
+++ b/lib/private/Updater.php
|
|
|
|
@@ -214,15 +214,17 @@ class Updater extends BasicEmitter {
|
|
|
|
$this->config->setAppValue('core', 'vendor', $currentVendor);
|
2020-11-10 11:01:35 +01:00
|
|
|
}
|
|
|
|
|
2023-09-12 03:32:49 +02:00
|
|
|
+ /*
|
|
|
|
+ Fedora package:
|
|
|
|
+ Remove updater version check, we know that updates across more than one
|
|
|
|
+ version are possible
|
|
|
|
+ */
|
2020-11-10 11:01:35 +01:00
|
|
|
if ($currentVendor === 'nextcloud') {
|
|
|
|
- return isset($allowedPreviousVersions[$currentVendor][$majorMinor])
|
|
|
|
- && (version_compare($oldVersion, $newVersion, '<=') ||
|
2023-09-12 03:32:49 +02:00
|
|
|
- $this->config->getSystemValueBool('debug', false));
|
2020-11-10 11:01:35 +01:00
|
|
|
+ return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Check if the instance can be migrated
|
|
|
|
- return isset($allowedPreviousVersions[$currentVendor][$majorMinor]) ||
|
|
|
|
- isset($allowedPreviousVersions[$currentVendor][$oldVersion]);
|
|
|
|
+ return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|