Fix send_to_prod redirect to not run on the Dev VM.

(imported from commit 6006c71348706d39740b0d6302df0a548e65b65e)
This commit is contained in:
Tim Abbott 2015-08-18 17:33:25 -07:00
parent 46e224997e
commit f792b67098
1 changed files with 1 additions and 1 deletions

View File

@ -1103,7 +1103,7 @@ def home(request):
# Warn users on the zulip.com realm to use staging.
send_to_prod = False
if page_params['domain'] == "zulip.com" and page_params['staging']:
if page_params['domain'] == "zulip.com" and settings.STAGING_DEPLOYED:
send_to_prod = True
dbx_branding = False