Block any address with more than one suspended user
This commit is contained in:
parent
f1316fa58e
commit
5b2d2ff2f0
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ addresses = User.count(
|
|||
)
|
||||
|
||||
addresses.each do |address,count|
|
||||
if count > 2
|
||||
if count > 1
|
||||
acl = Acl.find(:first, :conditions => {
|
||||
:address => address,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue