diff -r 15a2f644725f -r 6ad4fdb48840 app/soc/views/models/user_self.py --- 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()