diff options
author | Joas Schilling <coding@schilljs.com> | 2017-05-17 11:19:45 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-05-18 10:49:04 +0200 |
commit | e1b5d20b3b405023632e2a332e0b802b24040587 (patch) | |
tree | b717e7b0f45809ced701598651a0da010d0329eb /lib/private/Updater.php | |
parent | dd6c9cb03d8a81c242c34f3d3c2f79090b383779 (diff) | |
download | nextcloud-server-e1b5d20b3b405023632e2a332e0b802b24040587.tar.gz nextcloud-server-e1b5d20b3b405023632e2a332e0b802b24040587.zip |
Fix updating from some 11 versions when people didn't update
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Updater.php')
-rw-r--r-- | lib/private/Updater.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/Updater.php b/lib/private/Updater.php index 5ca493e0edc..6d08e5d4cc0 100644 --- a/lib/private/Updater.php +++ b/lib/private/Updater.php @@ -194,6 +194,12 @@ class Updater extends BasicEmitter { // Vendor was not set correctly on install, so we have to white-list known versions if ($currentVendor === '') { if (in_array($oldVersion, [ + '11.0.2.7', + '11.0.1.2', + '11.0.0.10', + ], true)) { + $currentVendor = 'nextcloud'; + } else if (in_array($oldVersion, [ '10.0.0.12', ], true)) { $currentVendor = 'owncloud'; |