events.py: Remove realm_domain from fetch_initial_state_data.

Seems unused. git grep from realm_domain returns nothing of relevance.
This commit is contained in:
Rishi Gupta 2017-03-13 12:19:54 -07:00 committed by Tim Abbott
parent 098797cd36
commit ae76f2540f

View File

@ -109,9 +109,6 @@ def fetch_initial_state_data(user_profile, event_types, queue_id,
state['max_icon_file_size'] = settings.MAX_ICON_FILE_SIZE
state['realm_bot_domain'] = user_profile.realm.get_bot_domain()
if want('realm_domain'):
state['realm_domain'] = user_profile.realm.domain
if want('realm_domains'):
state['realm_domains'] = get_realm_aliases(user_profile.realm)