mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 00:09:23 +08:00
ooops. forgot the args :fired:
This commit is contained in:
parent
05727e89e0
commit
515b616d30
@ -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…
x
Reference in New Issue
Block a user