From: Tim Düsterhus Date: Wed, 11 May 2022 14:21:20 +0000 (+0200) Subject: Remove obsolete reordering of package servers in PackageUpdateDispatcher::refreshPack... X-Git-Tag: 6.0.0_Alpha_1~1309^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=331e06d2c0dc1ad81f800b9976de6e5362ee679b;p=GitHub%2FWoltLab%2FWCF.git Remove obsolete reordering of package servers in PackageUpdateDispatcher::refreshPackageDatabase() --- diff --git a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php index 5d1626aad7..2e8d2d491d 100644 --- a/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageUpdateDispatcher.class.php @@ -47,20 +47,11 @@ class PackageUpdateDispatcher extends SingletonFactory // loop servers $updateServers = []; - $foundWoltLabServer = false; $requirePurchasedVersions = false; foreach ($tmp as $updateServer) { if ($ignoreCache || $updateServer->lastUpdateTime < TIME_NOW - 600) { if (\preg_match('~^https?://(?:update|store)\.woltlab\.com\/~', $updateServer->serverURL)) { $requirePurchasedVersions = true; - - // move a woltlab.com update server to the front of the queue to probe for SSL support - if (!$foundWoltLabServer) { - \array_unshift($updateServers, $updateServer); - $foundWoltLabServer = true; - - continue; - } } $updateServers[] = $updateServer;