equal
deleted
inserted
replaced
123 } |
123 } |
124 |
124 |
125 template = DEF_NEW_GROUP_TEMPLATE |
125 template = DEF_NEW_GROUP_TEMPLATE |
126 |
126 |
127 for to in [entity.applicant, entity.backup_admin]: |
127 for to in [entity.applicant, entity.backup_admin]: |
|
128 if not to: |
|
129 continue |
|
130 |
128 sendNotification(to, None, message_properties, subject, template) |
131 sendNotification(to, None, message_properties, subject, template) |
129 |
132 |
130 |
133 |
131 def sendNewReviewNotification(to_user, review, reviewed_name, redirect_url): |
134 def sendNewReviewNotification(to_user, review, reviewed_name, redirect_url): |
132 """Sends out a notification to alert the user of a new Review. |
135 """Sends out a notification to alert the user of a new Review. |