Delete old route for /json/get_profile.

This commit is contained in:
Ashish 2016-04-02 23:38:17 +05:30 committed by Tim Abbott
parent 86fb7103fa
commit 9429358795
2 changed files with 0 additions and 5 deletions

View File

@ -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

View File

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