diff --git a/lib/private/Updater.php b/lib/private/Updater.php index 6d08e5d4cc..f80b3a863a 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -199,9 +199,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'; } }