Commit 7f25afe1 authored by Zosman's avatar Zosman
Browse files

only var thats gets changed during blocking is .blocked

parent 0ea3da1b
......@@ -384,8 +384,6 @@ def useradmin(request):
)
# toBlock.user.delete()
toBlock.blocked = True
toBlock.approved = False
toBlock.registered = False
toBlock.save()
# If we're un-blocking users
elif '_unblock' in request.POST:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment