app/soc/views/models/user_self.py
changeset 1017 6ad4fdb48840
parent 1012 73f0b61f2d9d
child 1043 5e15994b2033
--- a/app/soc/views/models/user_self.py	Tue Jan 27 22:57:19 2009 +0000
+++ b/app/soc/views/models/user_self.py	Tue Jan 27 22:59:01 2009 +0000
@@ -252,14 +252,12 @@
 
     super(View, self)._editPost(request, entity, fields)
 
-  def getSidebarMenus(self, params=None):
+  def getSidebarMenus(self, id, user, params=None):
     """See base.View.getSidebarMenus().
     """
 
     link_title = ugettext('Notifications')
 
-    user = user_logic.getForCurrentAccount()
-
     filter = {
         'scope': user,
         'unread': True,
@@ -279,7 +277,7 @@
 
     params = dicts.merge(params, new_params)
 
-    return super(View, self).getSidebarMenus(params=params)
+    return super(View, self).getSidebarMenus(id, user, params=params)
 
 
 view = View()