X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..cb87f02642d0097ebc067ca1f9371dde274a41e3:/script/update-spam-blocks diff --git a/script/update-spam-blocks b/script/update-spam-blocks index 4367fd8da..f14905b90 100755 --- a/script/update-spam-blocks +++ b/script/update-spam-blocks @@ -5,7 +5,7 @@ require "generator" addresses = User.count( :conditions => { - :status => %w(suspended deleted), + :status => %w[suspended deleted], :creation_time => Time.now - 28.days..Time.now }, :group => :creation_ip