mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
ooops. forgot the args :fired:
This commit is contained in:
parent
05727e89e0
commit
515b616d30
2 changed files with 2 additions and 2 deletions
|
@ -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])
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue