mirror of https://github.com/zulip/zulip.git
Delete old route for json/update_active_status.
This commit is contained in:
parent
78b9f45bf7
commit
1bf644369f
|
@ -29,7 +29,7 @@ var presence_descriptions = {
|
|||
idle: 'is not active'
|
||||
};
|
||||
|
||||
/* Keep in sync with views.py:json_update_active_status() */
|
||||
/* Keep in sync with views.py:update_active_status_backend() */
|
||||
exports.ACTIVE = "active";
|
||||
exports.IDLE = "idle";
|
||||
|
||||
|
|
|
@ -1128,10 +1128,6 @@ def update_active_status_backend(request, user_profile, status=REQ,
|
|||
|
||||
return json_success(ret)
|
||||
|
||||
@authenticated_json_post_view
|
||||
def json_update_active_status(request, user_profile):
|
||||
return update_active_status_backend(request, user_profile)
|
||||
|
||||
@authenticated_json_post_view
|
||||
def json_get_active_statuses(request, user_profile):
|
||||
return json_success(get_status_list(user_profile))
|
||||
|
|
|
@ -113,7 +113,6 @@ urlpatterns += patterns('zerver.views',
|
|||
url(r'^json/subscriptions/property$', 'streams.json_subscription_property'),
|
||||
url(r'^json/get_subscribers$', 'streams.json_get_subscribers'),
|
||||
url(r'^json/fetch_api_key$', 'json_fetch_api_key'),
|
||||
url(r'^json/update_active_status$', 'json_update_active_status'),
|
||||
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'),
|
||||
|
|
Loading…
Reference in New Issue