Use the existing array of OC versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
4b58eccf61
commit
690efbd4eb
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue