mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 10:09:53 +01:00
Let's not be silly.
This commit is contained in:
parent
be04d3528c
commit
99965adb7b
1 changed files with 2 additions and 1 deletions
3
Rakefile
3
Rakefile
|
@ -165,7 +165,8 @@ namespace :justask do
|
|||
user = User.find_by_screen_name(args[:screen_name])
|
||||
fail "user #{args[:screen_name]} not found" if user.nil?
|
||||
user.permanently_banned = false
|
||||
user.banned_until = DateTime.now - 0.00001
|
||||
user.banned_until = nil
|
||||
user.ban_reason = nil
|
||||
user.save!
|
||||
puts "#{user.screen_name} is no longer banned."
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue