ooops. forgot the args :fired:

This commit is contained in:
Régis Hanol 2014-11-25 18:45:45 +01:00
parent 05727e89e0
commit 515b616d30
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ module Jobs
class CleanUpUnmatchedEmails < Jobs::Scheduled
every 1.day
def execute
def execute(args)
last_match_threshold = SiteSetting.max_age_unmatched_emails.days.ago
ScreenedEmail.where(action_type: ScreenedEmail.actions[:block])

View file

@ -3,7 +3,7 @@ module Jobs
class CleanUpUnmatchedIPs < Jobs::Scheduled
every 1.day
def execute
def execute(args)
last_match_threshold = SiteSetting.max_age_unmatched_ips.days.ago
ScreenedIpAddress.where(action_type: ScreenedIpAddress.actions[:block])