app/soc/views/helper/access.py
changeset 727 ddf44af087a0
parent 726 ba3d399ec9be
child 729 7fe218e3d359
--- a/app/soc/views/helper/access.py	Fri Dec 12 23:28:18 2008 +0000
+++ b/app/soc/views/helper/access.py	Sat Dec 13 11:02:08 2008 +0000
@@ -358,8 +358,7 @@
   
   notification = notification_logic.logic.getForFields(properties, unique=True)
   
-  user = user_logic.logic.getForFields(
-      {'account': users.get_current_user()}, unique=True)
+  user = user_logic.logic.getForCurrentAccount()
   
   # check if the key of the current user matches the key from the scope of the message
   if user.key() == notification.scope.key():