equal
deleted
inserted
replaced
35 by default user's with their email set are notified if any, else the default |
35 by default user's with their email set are notified if any, else the default |
36 email addresses specified in the configuration are used |
36 email addresses specified in the configuration are used |
37 """ |
37 """ |
38 id = 'recipients_finder' |
38 id = 'recipients_finder' |
39 __select__ = yes() |
39 __select__ = yes() |
40 user_rql = ('Any X,E,A WHERE X is EUser, X in_state S, S name "activated",' |
40 user_rql = ('Any X,E,A WHERE X is CWUser, X in_state S, S name "activated",' |
41 'X primary_email E, E address A') |
41 'X primary_email E, E address A') |
42 |
42 |
43 def recipients(self): |
43 def recipients(self): |
44 mode = self.config['default-recipients-mode'] |
44 mode = self.config['default-recipients-mode'] |
45 if mode == 'users': |
45 if mode == 'users': |