mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
Delete old route for /json/get_profile.
This commit is contained in:
@@ -928,10 +928,6 @@ def update_pointer_backend(request, user_profile,
|
|||||||
def generate_client_id():
|
def generate_client_id():
|
||||||
return generate_random_token(32)
|
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.
|
# The order of creation of the various dictionaries are important.
|
||||||
# We filter on {userprofile,stream,subscription_recipient}_ids.
|
# We filter on {userprofile,stream,subscription_recipient}_ids.
|
||||||
@require_realm_admin
|
@require_realm_admin
|
||||||
|
|||||||
@@ -118,7 +118,6 @@ urlpatterns += patterns('zerver.views',
|
|||||||
url(r'^json/get_active_statuses$', 'json_get_active_statuses'),
|
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_send_message$', 'tutorial.json_tutorial_send_message'),
|
||||||
url(r'^json/tutorial_status$', 'tutorial.json_tutorial_status'),
|
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_error$', 'report.json_report_error'),
|
||||||
url(r'^json/report_send_time$', 'report.json_report_send_time'),
|
url(r'^json/report_send_time$', 'report.json_report_send_time'),
|
||||||
url(r'^json/report_narrow_time$', 'report.json_report_narrow_time'),
|
url(r'^json/report_narrow_time$', 'report.json_report_narrow_time'),
|
||||||
|
|||||||
Reference in New Issue
Block a user