Commit d841f9f2 authored by Gerardo Gutierrez's avatar Gerardo Gutierrez

Update loop to block user only if not blocked

parent 7d962989
......@@ -618,7 +618,7 @@ users.count
# If that count looks sane:
# You can either block the users:
users.each { |user| user.block! }
users.each { |user| user.blocked? ? nil : user.block! }
# Or you can delete them:
# need 'current user' (your user) for auditing purposes
......
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