Commit 4f6e784a authored by Nicolas Delaby's avatar Nicolas Delaby

This condition is dangerous, because method can be acquired from container,

and useless because the method is not called.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44632 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c3d34144
...@@ -404,10 +404,6 @@ class ERP5TypeInformation(XMLObject, ...@@ -404,10 +404,6 @@ class ERP5TypeInformation(XMLObject,
# Portal type has to be set before setting other attributes # Portal type has to be set before setting other attributes
# in order to initialize aq_dynamic # in order to initialize aq_dynamic
if hasattr(ob, '_setPortalTypeName'):
#ob._setPortalTypeName(self.getId())
# XXX rafael: if we use _set because it is trigger by interaction
# workflow and it is annoyning without security setted
ob.portal_type = self.getId() ob.portal_type = self.getId()
if compute_local_role: if compute_local_role:
......
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