settings: Migrate main settings-change code to API.

This was one of the few major remaining endpoints that were still on
the old-style legacy API.
This commit is contained in:
Tim Abbott
2017-07-31 11:44:52 -07:00
parent 9bf02fb913
commit 1e5aee054b
11 changed files with 41 additions and 35 deletions

View File

@@ -15,7 +15,6 @@ import zerver.views.muting
legacy_urls = [
# These are json format views used by the web client. They require a logged in browser.
url(r'^json/invite_users$', zerver.views.invite.json_invite_users),
url(r'^json/settings/change$', zerver.views.user_settings.json_change_settings),
# We should remove this endpoint and all code related to it.
# It returns a 404 if the stream doesn't exist, which is confusing