Commit 3521a70f authored by Sebastien Robin's avatar Sebastien Robin

typo error corrected


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1130 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a04c4246
...@@ -993,7 +993,7 @@ class ERP5Conduit(XMLSyncUtilsMixin): ...@@ -993,7 +993,7 @@ class ERP5Conduit(XMLSyncUtilsMixin):
wf_tool.setStatusOf(wf_id,object,status) wf_tool.setStatusOf(wf_id,object,status)
# Specific CPS, try to remove duplicate lines in portal_repository._histories # Specific CPS, try to remove duplicate lines in portal_repository._histories
tool = getToolByName(self,'portal_repostiry',None) tool = getToolByName(self,'portal_repository',None)
if tool is not None: if tool is not None:
if hasattr(self,'getDocid'): if hasattr(self,'getDocid'):
docid = self.getDocid() docid = self.getDocid()
...@@ -1004,8 +1004,6 @@ class ERP5Conduit(XMLSyncUtilsMixin): ...@@ -1004,8 +1004,6 @@ class ERP5Conduit(XMLSyncUtilsMixin):
new_history += (history_line,) new_history += (history_line,)
tool.setHistory(docid,new_history) tool.setHistory(docid,new_history)
return conflict_list return conflict_list
security.declareProtected(Permissions.ModifyPortalContent, 'addLocalRoleNode') security.declareProtected(Permissions.ModifyPortalContent, 'addLocalRoleNode')
......
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