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'),