Commit 7efca437 authored by Jérome Perrin's avatar Jérome Perrin

remove useless/buggy override of Title

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5671 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f506c769
......@@ -83,7 +83,8 @@ class Person(Entity, Node, XMLObject):
if value != self.getTitle():
self.title = value
security.declareProtected(Permissions.View, 'getTitle')
security.declareProtected(Permissions.AccessContentsInformation,
'getTitle')
def getTitle(self, **kw):
"""
Returns the title if it exists or a combination of
......@@ -100,7 +101,6 @@ class Person(Entity, Node, XMLObject):
return ' '.join(name_list)
else:
return self.title
Title = getTitle
security.declareProtected(Permissions.ModifyPortalContent, 'setTitle')
def setTitle(self, value):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment