From 517c8e298a8f73325c3312f43773ef73ecbabe89 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 2 Nov 2012 18:45:02 -0400 Subject: [PATCH] Remove now-unnecessary check for 'time' in json_send_message. (imported from commit aa177e13c16a43a5914227142a4e2589e2bd92bb) --- zephyr/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/zephyr/views.py b/zephyr/views.py index 6b4f1cc1c5..0e206cba6d 100644 --- a/zephyr/views.py +++ b/zephyr/views.py @@ -481,8 +481,6 @@ def api_send_message(request, user_profile): @login_required_json_view def json_send_message(request): user_profile = UserProfile.objects.get(user=request.user) - if 'time' in request.POST: - return json_error("Invalid field 'time'") return send_message_backend(request, user_profile, user_profile, client_name=request.POST.get("client"))