Non-asynchronous API calls only take two arguments

(imported from commit 39f21892e38b0f8c2369d77ffcfb077f1006863e)
This commit is contained in:
Zev Benjamin 2012-10-26 11:53:01 -04:00
parent 6ed1d38743
commit ec389c5c83
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ def json_get_old_messages(request):
apply_markdown=True)
@login_required_api_view
def api_get_old_messages(request, user_profile, handler):
def api_get_old_messages(request, user_profile):
return get_old_messages_backend(request, user_profile=user_profile,
apply_markdown=(request.POST.get("apply_markdown") is not None))