# revokes the block, allowing the user to use the API again. the argument
# is the user object who is revoking the ban.
def revoke!(revoker)
- update_attributes({
+ update_attributes(
:ends_at => Time.now.getutc(),
:revoker_id => revoker.id,
:needs_view => false
- }, :without_protection => true)
+ )
end
private