mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: don't send repeated notifications that there are pending users who need to be approved to moderators who haven't read the previous notification
This commit is contained in:
@@ -37,6 +37,10 @@ class TopicSubtype
|
||||
'notify_user'
|
||||
end
|
||||
|
||||
def self.pending_users_reminder
|
||||
'pending_users'
|
||||
end
|
||||
|
||||
def self.register(name, options={})
|
||||
@subtypes ||= {}
|
||||
@subtypes[name] = TopicSubtype.new(name, options)
|
||||
|
Reference in New Issue
Block a user