diff options
Diffstat (limited to 'lib/private/Updater.php')
-rw-r--r-- | lib/private/Updater.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/private/Updater.php b/lib/private/Updater.php index 902d22f6679..91ac5c665b3 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -200,9 +200,7 @@ class Updater extends BasicEmitter { '11.0.0.10', ], true)) { $currentVendor = 'nextcloud'; - } else if (in_array($oldVersion, [ - '10.0.0.12', - ], true)) { + } else if (isset($allowedPreviousVersions['owncloud'][$oldVersion])) { $currentVendor = 'owncloud'; } } |