Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Keep showing "download beta" to 3.x users even after Firefox 4 is rel…
Browse files Browse the repository at this point in the history
…eased. Bug 640326.
  • Loading branch information
Fred Wenzel committed Mar 9, 2011
1 parent 07ae337 commit f9035db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/feedback/views.py
Expand Up @@ -76,8 +76,7 @@ def wrapped(request, *args, **kwargs):
# Bug 634324: Until Firefox 4 is released, show "download beta"
# message to 3.6 and lower release users.
ver4 = Version('4.0')
if (parsed['browser'] == input.FIREFOX and ref_ver < ver4 and
this_ver < ver4):
if (parsed['browser'] == input.FIREFOX and this_ver < ver4):
return http.HttpResponseRedirect(
reverse('feedback.download', channel='beta'))

Expand Down

0 comments on commit f9035db

Please sign in to comment.