Fix for account site banning

This commit is contained in:
Kyle Drake 2016-12-12 06:33:15 +00:00
parent 55729d8737
commit b55584997f

View file

@ -463,7 +463,7 @@ class Site < Sequel::Model
def ban_all_sites_on_account!
DB.transaction {
account_sites.all {|site| site.ban! }
account_sites.each {|site| site.ban! }
}
end