Migrated json/subscribtions/remove to REST endpoint

This commit is contained in:
JefftheBest1
2016-12-23 12:37:10 +11:00
committed by showell
parent 3a109a56df
commit b8ee0e91d2
6 changed files with 19 additions and 20 deletions

View File

@@ -18,7 +18,6 @@ legacy_urls = [
url(r'^json/refer_friend$', zerver.views.invite.json_refer_friend),
url(r'^json/settings/change$', zerver.views.user_settings.json_change_settings),
url(r'^json/ui_settings/change$', zerver.views.user_settings.json_change_ui_settings),
url(r'^json/subscriptions/remove$', zerver.views.streams.json_remove_subscriptions),
# We should remove this endpoint and all code related to it.
# It returns a 404 if the stream doesn't exist, which is confusing