Automatically switch from open to approved registrations in absence of moderators (#29337)
This commit is contained in:
parent
fbb07893b8
commit
28b666b0d5
6 changed files with 109 additions and 0 deletions
|
@ -61,6 +61,12 @@ class AdminMailer < ApplicationMailer
|
|||
end
|
||||
end
|
||||
|
||||
def auto_close_registrations
|
||||
locale_for_account(@me) do
|
||||
mail subject: default_i18n_subject(instance: @instance)
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def process_params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue