sobjects/notification.py
branchtls-sprint
changeset 1398 5fe84a5f7035
parent 1263 01152fffd593
child 1477 b056a49c16dc
equal deleted inserted replaced
1397:6cbc7bc8ea6d 1398:5fe84a5f7035
    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':