--- a/app/soc/logic/helper/notifications.py Thu Feb 26 16:48:02 2009 +0000
+++ b/app/soc/logic/helper/notifications.py Thu Feb 26 16:49:06 2009 +0000
@@ -149,10 +149,10 @@
'scope_path' : to_user.link_id
}
- key_fields = model_logic.notification.logic.getKeyFieldsFromFields(fields)
+ key_name = model_logic.notification.logic.getKeyNameFromFields(fields)
# create and put a new notification in the datastore
- model_logic.notification.logic.updateOrCreateFromFields(fields, key_fields)
+ model_logic.notification.logic.updateOrCreateFromKeyName(fields, key_name)
def sendNewNotificationMessage(notification_entity):