From 94293587957d048eabfd6c282163f8c184db24e2 Mon Sep 17 00:00:00 2001 From: Ashish Date: Sat, 2 Apr 2016 23:38:17 +0530 Subject: [PATCH] Delete old route for /json/get_profile. --- 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 7a34397c16..beb13b18d9 100644 --- a/zerver/views/__init__.py +++ b/zerver/views/__init__.py @@ -928,10 +928,6 @@ def update_pointer_backend(request, user_profile, def generate_client_id(): return generate_random_token(32) -@authenticated_json_post_view -def json_get_profile(request, user_profile): - return get_profile_backend(request, user_profile) - # The order of creation of the various dictionaries are important. # We filter on {userprofile,stream,subscription_recipient}_ids. @require_realm_admin diff --git a/zproject/urls.py b/zproject/urls.py index 5848bd979a..637b6076fd 100644 --- a/zproject/urls.py +++ b/zproject/urls.py @@ -118,7 +118,6 @@ urlpatterns += patterns('zerver.views', url(r'^json/get_active_statuses$', 'json_get_active_statuses'), url(r'^json/tutorial_send_message$', 'tutorial.json_tutorial_send_message'), url(r'^json/tutorial_status$', 'tutorial.json_tutorial_status'), - url(r'^json/get_profile$', 'json_get_profile'), url(r'^json/report_error$', 'report.json_report_error'), url(r'^json/report_send_time$', 'report.json_report_send_time'), url(r'^json/report_narrow_time$', 'report.json_report_narrow_time'),