Removed unused link var.

This commit is contained in:
Emanuel Schuetze 2012-05-20 19:44:29 +02:00
parent 406a2d18e3
commit 9b6640c2ae

View File

@ -211,7 +211,6 @@ def user_set_status(request, user_id):
return redirect(reverse('user_overview'))
if request.is_ajax():
link = reverse('user_status', args=[user.id])
return ajax_request({'active': user.is_active})
# set success messages for page reload only (= not ajax request)
if user.is_active: