mirror of
https://src.fedoraproject.org/rpms/nextcloud.git
synced 2026-07-29 05:34:21 +02:00
22 lines
688 B
Diff
22 lines
688 B
Diff
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
|
|
@@ -174,10 +174,13 @@
|
|
$this->config->setAppValue('core', 'vendor', $currentVendor);
|
|
}
|
|
|
|
+ /*
|
|
+ Fedora package:
|
|
+ Remove updater version check, we know that updates across more than one
|
|
+ version are possible
|
|
+ */
|
|
if ($currentVendor === 'nextcloud') {
|
|
- return isset($allowedPreviousVersions[$currentVendor][$majorMinor])
|
|
- && (version_compare($oldVersion, $newVersion, '<=')
|
|
- || $this->config->getSystemValueBool('debug', false));
|
|
+ return true;
|
|
}
|
|
|
|
// Check if the instance can be migrated
|