Commit 13c68007 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Typo in comments

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10124 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f733f8f8
...@@ -93,14 +93,14 @@ class FolderMixIn(ExtensionClass.Base, CopyContainer): ...@@ -93,14 +93,14 @@ class FolderMixIn(ExtensionClass.Base, CopyContainer):
is_indexable=is_indexable is_indexable=is_indexable
) # **kw) removed due to CMF bug ) # **kw) removed due to CMF bug
# TODO :the **kw makes it impossible to create content not based on # TODO :the **kw makes it impossible to create content not based on
# ERP5TypeInformation, because factory method often to not support # ERP5TypeInformation, because factory method often do not support
# keywords arguments. # keywords arguments.
new_instance = container[new_id] new_instance = container[new_id]
if kw != {} : new_instance._edit(force_update=1, **kw) if kw != {} : new_instance._edit(force_update=1, **kw)
if immediate_reindex: new_instance.immediateReindexObject() if immediate_reindex: new_instance.immediateReindexObject()
return new_instance return new_instance
security.declareProtected( security.declareProtected(
Permissions.DeletePortalContent, 'deleteContent') Permissions.DeletePortalContent, 'deleteContent')
def deleteContent(self, id): def deleteContent(self, id):
......
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