Commit ca60f2bb authored by Sebastien Robin's avatar Sebastien Robin

remove the factory type informatoin

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11188 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f212d2ae
...@@ -312,34 +312,6 @@ class Folder( CopyContainer, CMFBTreeFolder, Base, FolderMixIn): ...@@ -312,34 +312,6 @@ class Folder( CopyContainer, CMFBTreeFolder, Base, FolderMixIn):
, PropertySheet.Folder , PropertySheet.Folder
) )
# CMF Factory Type Information
factory_type_information = \
{ 'id' : portal_type
, 'meta_type' : meta_type
, 'description' : """\
Folders allow to store a large number of documents (1,000,000 should not
be a problem)."""
, 'icon' : 'folder_icon.gif'
, 'product' : 'ERP5Type'
, 'factory' : 'addFolder'
, 'filter_content_types' : 0
, 'immediate_view' : 'Folder_viewContentList'
, 'actions' :
( { 'id' : 'view'
, 'name' : 'View'
, 'action' : 'Folder_viewContentList'
, 'permissions' : (Permissions.View,)
, 'category' : 'object_view'
}
, { 'id' : 'list'
, 'name' : 'List'
, 'action' : 'Folder_viewContentList'
, 'permissions' : (Permissions.View,)
, 'category' : 'object_view'
}
)
}
# Class inheritance fixes # Class inheritance fixes
security.declareProtected( Permissions.ModifyPortalContent, 'edit' ) security.declareProtected( Permissions.ModifyPortalContent, 'edit' )
edit = Base.edit edit = Base.edit
......
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