Commit c54a39c8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

zope4: OFS.Image.File no longer has manage_FTPlist and manage_FTPstat.

parent e881cebc
...@@ -195,11 +195,6 @@ class File(Document, OFS_File): ...@@ -195,11 +195,6 @@ class File(Document, OFS_File):
OFS_File.PUT(self, REQUEST, RESPONSE) OFS_File.PUT(self, REQUEST, RESPONSE)
self.reindexObject() self.reindexObject()
security.declareProtected(Permissions.FTPAccess, 'manage_FTPstat',
'manage_FTPlist')
manage_FTPlist = OFS_File.manage_FTPlist
manage_FTPstat = OFS_File.manage_FTPstat
security.declareProtected(Permissions.AccessContentsInformation, 'getMimeTypeAndContent') security.declareProtected(Permissions.AccessContentsInformation, 'getMimeTypeAndContent')
def getMimeTypeAndContent(self): def getMimeTypeAndContent(self):
"""This method returns a tuple which contains mimetype and content.""" """This method returns a tuple which contains mimetype and 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