From 77c2a14822eeab2a7bb27aeb0ed32f8271be5f82 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 11 Dec 2013 12:11:03 -0500 Subject: [PATCH] Remove obsolete /api/v1/get_members endpoint. (imported from commit a5013c5e74d9e36a9a80c6fabd7b8461cbdf7e4a) --- zerver/views/__init__.py | 4 ---- zproject/urls.py | 1 - 2 files changed, 5 deletions(-) diff --git a/zerver/views/__init__.py b/zerver/views/__init__.py index 80f52dec18..91cb0481a6 100644 --- a/zerver/views/__init__.py +++ b/zerver/views/__init__.py @@ -1766,10 +1766,6 @@ def add_subscriptions_backend(request, user_profile, result["unauthorized"] = [stream.name for stream in unauthorized_streams] return json_success(result) -@authenticated_api_view -def api_get_members(request, user_profile): - return get_members_backend(request, user_profile) - @authenticated_json_post_view def json_get_members(request, user_profile): return get_members_backend(request, user_profile) diff --git a/zproject/urls.py b/zproject/urls.py index 1f85e9bc6a..093548946e 100644 --- a/zproject/urls.py +++ b/zproject/urls.py @@ -150,7 +150,6 @@ urlpatterns += patterns('zerver.views', url(r'^api/v1/get_subscribers$', 'api_get_subscribers'), url(r'^api/v1/send_message$', 'api_send_message'), url(r'^api/v1/update_pointer$', 'api_update_pointer'), - url(r'^api/v1/get_members$', 'api_get_members'), # This json format view used by the API accepts a username password/pair and returns an API key. url(r'^api/v1/fetch_api_key$', 'api_fetch_api_key'),