Méthode getMemberFullNameById -> prise en compte des modifications de MemberData.
[Plinn.git] / MembershipTool.py
index 166d42a..2cfefe6 100755 (executable)
@@ -241,10 +241,7 @@ class MembershipTool( BaseTool ):
                        member = self.getMemberById(userid)
                        if not member :
                                return userid
                        member = self.getMemberById(userid)
                        if not member :
                                return userid
-                       memberName = getattr(member, 'name', '')
-                       memberGivenName = getattr(member, 'given_name', '')
-                       memberId = member.getId()
-                       memberFullName = formatFullName(memberName, memberGivenName, memberId, nameBefore = nameBefore)
+                       memberFullName = member.getMemberFullName(nameBefore=nameBefore)
                        
                return memberFullName
        
                        
                return memberFullName