app/soc/views/models/notification.py
changeset 986 e9611a2288ca
parent 970 8b5611d5b053
child 1007 3b66772d21a5
--- a/app/soc/views/models/notification.py	Sun Jan 25 16:17:33 2009 +0000
+++ b/app/soc/views/models/notification.py	Sun Jan 25 16:25:17 2009 +0000
@@ -194,7 +194,7 @@
       # if the message is meant for the user that is reading it
       if entity.scope.key() == user.key():
         # mark the entity as read
-        self._logic.updateModelProperties(entity, {'unread' : False} )
+        self._logic.updateEntityProperties(entity, {'unread' : False} )
 
     context['entity_type_url'] = self._params['url_name']
     context['entity_suffix'] = self._logic.getKeySuffix(entity)