mirror of https://github.com/zulip/zulip.git
Delete old route for /json/get_profile.
This commit is contained in:
parent
86fb7103fa
commit
9429358795
|
@ -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
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue