mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Fix for account site banning
This commit is contained in:
parent
55729d8737
commit
b55584997f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue