home.py: move realm_presence_disabled to register_ret.

Part of #3853.
This commit is contained in:
fionabunny
2017-04-19 22:35:53 -07:00
committed by Tim Abbott
parent 6d2785c853
commit 79c989916d
2 changed files with 2 additions and 1 deletions

View File

@@ -215,7 +215,6 @@ def home_real(request):
name_changes_disabled = name_changes_disabled(user_profile.realm),
mandatory_topics = user_profile.realm.mandatory_topics,
show_digest_email = user_profile.realm.show_digest_email,
realm_presence_disabled = user_profile.realm.presence_disabled,
is_zephyr_mirror_realm = user_profile.realm.is_zephyr_mirror_realm,
# user_profile data.
@@ -311,6 +310,7 @@ def home_real(request):
'realm_name',
'realm_description',
'realm_name_changes_disabled',
'realm_presence_disabled',
'realm_restricted_to_domain',
'realm_uri',
'realm_waiting_period_threshold',