home.py: move user_id to register_ret.

Move the user_profile data section down into fetch_initial_state_data so
it entirely pulls from register_ret for #3853
This commit is contained in:
fionabunny
2017-04-26 15:21:16 -07:00
committed by Tim Abbott
parent 6159b8e21a
commit 6f770c2465
2 changed files with 2 additions and 1 deletions

View File

@@ -209,7 +209,6 @@ def home_real(request):
fullname = user_profile.full_name,
email = user_profile.email,
enter_sends = user_profile.enter_sends,
user_id = user_profile.id,
# Realm foreign key data from register_ret.
# TODO: Rename these to match register_ret values.
@@ -303,6 +302,7 @@ def home_real(request):
'unsubscribed',
'timezone',
'twenty_four_hour_time',
'user_id',
'zulip_version',
]