X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..793c9364c5ebb1adddb0a78d80335e731d1230da:/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