--- a/app/soc/logic/helper/notifications.py Mon Jan 19 16:23:37 2009 +0000
+++ b/app/soc/logic/helper/notifications.py Mon Jan 19 23:25:23 2009 +0000
@@ -46,6 +46,7 @@
DEF_WELCOME_MSG_FMT = ugettext_lazy("Welcome to Melange %(name)s,")
+
def sendInviteNotification(entity):
"""Sends out an invite notification to the user the request is for.
@@ -103,6 +104,7 @@
notification_logic.updateOrCreateFromFields(fields,
notification_logic.getKeyFieldsFromDict(fields))
+
def sendNewNotificationMessage(notification_entity):
"""Sends an email to a user about a new notification
@@ -140,6 +142,7 @@
mail_dispatcher.sendMailFromTemplate('soc/mail/new_notification.html',
messageProperties)
+
def sendWelcomeMessage(user_entity):
"""Sends out a welcome message to a user.