- attrs = { :ends_at => Time.now.getutc(),
- :revoker_id => @user.id,
- :needs_view => false }
- revoker.moderator? and update_attributes(attrs)
+ update_attributes({
+ :ends_at => Time.now.getutc(),
+ :revoker_id => revoker.id,
+ :needs_view => false
+ }, :without_protection => true)