Make sure that 10.5 is considered as oc

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-09-25 09:12:52 +02:00
parent 3bd030d239
commit baff932e23
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ class Updater extends BasicEmitter {
'11.0.0.10',
], true)) {
$currentVendor = 'nextcloud';
} else if (isset($allowedPreviousVersions['owncloud'][$oldVersion])) {
} else if (isset($allowedPreviousVersions['owncloud'][$oldVersion]) || isset($allowedPreviousVersions['owncloud'][$majorMinor])) {
$currentVendor = 'owncloud';
}
}