Commit 84aa8165 authored by Nicolas Delaby's avatar Nicolas Delaby

remove duplicated method

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36547 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 676fd4fc
......@@ -189,14 +189,6 @@ class TextDocument(CachedConvertableMixin, BaseConvertableFileMixin,
return base_list[0]
return Document.getContentBaseURL(self)
security.declareProtected(Permissions.AccessContentsInformation, 'hasBaseData')
def hasBaseData(self):
"""
A TextDocument store its base_data in the "text_content" property.
Having base_data is equivalent to having some text_content.
"""
return self.hasTextContent()
security.declareProtected(Permissions.ModifyPortalContent, 'setBaseData')
def setBaseData(self, value):
"""Store base_data into text_content
......
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