Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/client_updater_server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Ottens <kevin.ottens@nextcloud.com>2021-01-12 11:24:34 +0300
committerKevin Ottens <kevin.ottens@nextcloud.com>2021-01-12 11:24:34 +0300
commit610c1b7c0a93d2690fde308444db2786e069ac80 (patch)
treecc5c72e9e6d6e2dbf5876f6b50afc50dfcd9cce6
parentbf1df6951d9aae81df3725415d7e157dd8d7d8bc (diff)
Remove the aggressive throttling
Since nowadays most clients in the wild are 3.0.3 or above we should likely remove that random roll of wrongly claiming the client is up to date and rely on the update segment only again. I'd expect this would fix nextcloud/desktop#2809 we're getting too many of those "why didn't I get the update yet" and that's the only explanation I have so far. Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
-rw-r--r--config/config.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/config/config.php b/config/config.php
index 3912ee5..1c654b6 100644
--- a/config/config.php
+++ b/config/config.php
@@ -24,15 +24,6 @@ declare(strict_types=1);
$rel = '2020-12-23 12:00';
$ver = '3.1.1';
-$old_rel = '2020-10-30 12:00';
-$old_ver = '3.0.3';
-
-// in 90% of the cases ship the old version. Otherwise ship the current version.
-if (rand(0, 9) !== 2) {
- $rel = $old_rel;
- $ver = $old_ver;
-}
-
$ver_str = 'Nextcloud Client ' . $ver;
if (version_compare($version, '3.0.3') < 0) {