2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08: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:
Neil Lalonde 2014-07-16 17:53:44 -04:00
parent d9c2b316b6
commit 4c867c5796
3 changed files with 28 additions and 5 deletions

View file

@ -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)