settings: Remove obsolete default_desktop_notifications setting.

This actually hasn't been hooked up to do anything in years.

While we're at it, we remove the entire "Zulip Labs" settings page.
This commit is contained in:
Tim Abbott
2018-04-28 13:35:18 -07:00
parent 7f679bcdce
commit 7d6bb3dcb4
21 changed files with 20 additions and 105 deletions

View File

@@ -3059,11 +3059,6 @@ def do_change_enter_sends(user_profile: UserProfile, enter_sends: bool) -> None:
user_profile.enter_sends = enter_sends
user_profile.save(update_fields=["enter_sends"])
def do_change_default_desktop_notifications(user_profile: UserProfile,
default_desktop_notifications: bool) -> None:
user_profile.default_desktop_notifications = default_desktop_notifications
user_profile.save(update_fields=["default_desktop_notifications"])
def do_set_user_display_setting(user_profile: UserProfile,
setting_name: str,
setting_value: Union[bool, Text]) -> None: