Commit b8f4d99c authored by Vincent Pelletier's avatar Vincent Pelletier

ERP5Type.Core.Folder: Simplify method aliasing.

parent a873ab70
...@@ -1472,8 +1472,7 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn): ...@@ -1472,8 +1472,7 @@ class Folder(CopyContainer, CMFBTreeFolder, CMFHBTreeFolder, Base, FolderMixIn):
# Aliases # Aliases
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'getObjectIds') 'getObjectIds')
def getObjectIds(self, *args, **kw): getObjectIds = objectIds
return self.objectIds(*args, **kw)
# Overloading # Overloading
security.declareProtected( Permissions.AccessContentsInformation, security.declareProtected( Permissions.AccessContentsInformation,
......
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