app/soc/views/models/role.py
changeset 1948 25cd704fdfdf
parent 1947 af360d1017df
child 1955 06ed84dbb1ed
--- a/app/soc/views/models/role.py	Fri Mar 20 11:49:12 2009 +0000
+++ b/app/soc/views/models/role.py	Fri Mar 20 14:04:57 2009 +0000
@@ -269,9 +269,6 @@
     entity = request_logic.logic.updateOrCreateFromKeyName(request_fields,
                                                            key_name)
 
-    # send out an invite notification
-    notifications_helper.sendInviteNotification(entity)
-
     group_view = params.get('group_view')
     if not group_view:
       return http.HttpResponseRedirect('/')
@@ -618,9 +615,6 @@
           request_logic.logic.updateEntityProperties(request_entity, {
               'status': get_dict['status']})
 
-          if request_status == 'group_accepted':
-            notifications_helper.sendInviteNotification(request_entity)
-
         group_view = params.get('group_view')
         if not group_view:
           return http.HttpResponseRedirect('/')