Delete old route for /json/update_message_flags.

This commit is contained in:
Ashish 2016-04-01 17:01:17 +05:30 committed by Tim Abbott
parent a12006d86f
commit c0a218edfc
2 changed files with 0 additions and 5 deletions

View File

@ -605,10 +605,6 @@ def get_old_messages_backend(request, user_profile,
"msg": ""}
return json_success(ret)
@authenticated_json_post_view
def json_update_flags(request, user_profile):
return update_message_flags(request, user_profile);
@has_request_variables
def update_message_flags(request, user_profile,
messages=REQ('messages', validator=check_list(check_int)),

View File

@ -125,7 +125,6 @@ urlpatterns += patterns('zerver.views',
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_unnarrow_time$', 'report.json_report_unnarrow_time'),
url(r'^json/update_message_flags$', 'messages.json_update_flags'),
url(r'^json/upload_file$', 'json_upload_file'),
url(r'^json/messages_in_narrow$', 'messages.json_messages_in_narrow'),
url(r'^json/update_message$', 'messages.json_update_message'),