[tbb-commits] [tor-browser-bundle/master] Revert "Bug 15670: add support for the no_update_for option in config.yml"

gk at torproject.org gk at torproject.org
Mon Apr 20 08:47:40 UTC 2015


commit 6fddec33ed9d3baf343f3848bc3d85553de6b03b
Author: Georg Koppen <gk at torproject.org>
Date:   Mon Apr 20 08:42:39 2015 +0000

    Revert "Bug 15670: add support for the no_update_for option in config.yml"
    
    This reverts commit 7d7faa30b4443f0cc76474738a36fd3f45e875f4.
---
 tools/update-responses/update_responses |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/update-responses/update_responses b/tools/update-responses/update_responses
index 6c497ef..07efc7c 100755
--- a/tools/update-responses/update_responses
+++ b/tools/update-responses/update_responses
@@ -283,10 +283,6 @@ sub write_htaccess {
         my $version = $config->{channels}{$channel};
         my $files = $config->{versions}{$version}{files};
         $htaccess .= "RewriteRule ^[^\/]+/$version/ no-update.xml $flags\n";
-        my $noup_for = $config->{no_update_for}{$channel};
-        for my $noup_ver (ref $noup_for eq 'ARRAY' ? @$noup_for : ()) {
-            $htaccess .= "RewriteRule ^[^\/]+/$noup_ver/ no-update.xml $flags\n";
-        }
         foreach my $os (sort keys %$files) {
             my $bt = build_target_by_os($os);
             foreach my $lang (sort keys %{$files->{$os}}) {



More information about the tbb-commits mailing list