Commit 2b7b42f0 authored by Jérome Perrin's avatar Jérome Perrin

fix duplicate security declaration


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35550 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f9035a1d
...@@ -100,7 +100,7 @@ class DownloadableMixin: ...@@ -100,7 +100,7 @@ class DownloadableMixin:
return str(data) return str(data)
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'index_html') 'getStandardFileName')
def getStandardFileName(self, format=None): def getStandardFileName(self, format=None):
"""Returns the document coordinates as a standard file name. This """Returns the document coordinates as a standard file name. This
method is the reverse of getPropertyDictFromFileName. method is the reverse of getPropertyDictFromFileName.
......
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