X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dc2a2c8ebd1a11e4a64555fda22c6859a51defff..979a474c682c894125e0fe9ddfc5bae566ad895c:/script/update-spam-blocks?ds=sidebyside 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