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):
# Aliases
security.declareProtected(Permissions.AccessContentsInformation,
'getObjectIds')
def getObjectIds(self, *args, **kw):
return self.objectIds(*args, **kw)
getObjectIds = objectIds
# Overloading
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