Commit 50730e00 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Folder constructor no longer has a title argument.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13364 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6427caba
...@@ -60,8 +60,7 @@ class BaseTool (UniqueObject, Folder): ...@@ -60,8 +60,7 @@ class BaseTool (UniqueObject, Folder):
# Filter content (ZMI)) # Filter content (ZMI))
def __init__(self): def __init__(self):
return Folder.__init__(self, self.__class__.id, return Folder.__init__(self, self.__class__.id)
getattr(self.__class__, 'title', ''))
# Filter content (ZMI)) # Filter content (ZMI))
def filtered_meta_types(self, user=None): def filtered_meta_types(self, user=None):
......
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