app/soc/views/helper/access.py
changeset 965 f96cc3d6120f
parent 960 129efa976d6d
child 970 8b5611d5b053
--- a/app/soc/views/helper/access.py	Sat Jan 24 17:09:02 2009 +0000
+++ b/app/soc/views/helper/access.py	Sat Jan 24 18:21:50 2009 +0000
@@ -207,8 +207,7 @@
   """
   checkIsUser(request, args, kwargs)
 
-  user = user_logic.getForFields({'account': users.get_current_user()},
-                                 unique=True)
+  user = user_logic.getForCurrentAccount()
   
   if user_logic.agreesToSiteToS(user):
     return