mirror of https://github.com/zulip/zulip.git
streams: Remove unused json_remove_subscriptions.
This commit is contained in:
parent
e57e2ee9f1
commit
46e5b8a9cc
|
@ -214,11 +214,6 @@ def compose_views(request, user_profile, method_kwarg_pairs):
|
|||
json_dict.update(ujson.loads(response.content))
|
||||
return json_success(json_dict)
|
||||
|
||||
@authenticated_json_post_view
|
||||
def json_remove_subscriptions(request, user_profile):
|
||||
# type: (HttpRequest, UserProfile) -> HttpResponse
|
||||
return remove_subscriptions_backend(request, user_profile)
|
||||
|
||||
@has_request_variables
|
||||
def remove_subscriptions_backend(request, user_profile,
|
||||
streams_raw = REQ("subscriptions", validator=check_list(check_string)),
|
||||
|
|
Loading…
Reference in New Issue