Skip to content

Commit

Permalink
Remove en-ZA from show_newsletter locales
Browse files Browse the repository at this point in the history
Re-introduced due to rebase
  • Loading branch information
jgmize committed Jun 29, 2019
1 parent 1e08fcf commit ecba6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bedrock/firefox/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ def download_thanks(request):
locale = l10n_utils.get_locale(request)
variant = request.GET.get('v', None)
newsletter = request.GET.get('n', None)
show_newsletter = locale in ['en-US', 'en-GB', 'en-CA', 'en-ZA','es-ES', 'es-AR', 'es-CL', 'es-MX', 'pt-BR', 'fr', 'ru', 'id', 'de', 'pl']
show_newsletter = locale in ['en-US', 'en-GB', 'en-CA', 'es-ES', 'es-AR', 'es-CL', 'es-MX', 'pt-BR', 'fr', 'ru', 'id', 'de', 'pl']

# ensure variant matches pre-defined value
if variant not in ['b']: # place expected ?v= values in this list
Expand Down

0 comments on commit ecba6fb

Please sign in to comment.