Browse Source
Use the existing array of OC versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/6004/head
Joas Schilling
9 years ago
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with
1 additions and
3 deletions
-
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'; |
|
|
|
} |
|
|
|
} |
|
|
|
|