Remove now-unnecessary check for 'time' in json_send_message.

(imported from commit aa177e13c16a43a5914227142a4e2589e2bd92bb)
This commit is contained in:
Tim Abbott 2012-11-02 18:45:02 -04:00
parent 1adc54185f
commit 517c8e298a
1 changed files with 0 additions and 2 deletions

View File

@ -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"))