app/soc/logic/models/request.py
changeset 2678 a525a55833f1
parent 1954 7aef36e912bb
child 3047 cdc652533fcc
--- a/app/soc/logic/models/request.py	Fri Jul 24 20:57:53 2009 +0200
+++ b/app/soc/logic/models/request.py	Fri Jul 24 21:00:04 2009 +0200
@@ -68,8 +68,7 @@
       notifications.sendInviteNotification(entity)
     elif entity.status == 'new':
       # this is a request
-      # TODO(Lennard) Create a new request message
-      pass
+      notifications.sendNewRequestNotification(entity)
 
     super(Logic, self)._onCreate(entity)
 
@@ -87,8 +86,7 @@
         notifications.sendInviteNotification(entity)
       elif value == 'new':
         # this is a request
-        # TODO(Lennard) Create a new request message
-        pass
+        notifications.sendNewRequestNotification(entity)
 
     return super(Logic, self)._updateField(entity, entity_properties, name)