From 351619d1864a14d87e2fc609f0c9570108e7f278 Mon Sep 17 00:00:00 2001
From: Nicolas Dumazet <nicolas.dumazet@nexedi.com>
Date: Tue, 1 Feb 2011 03:28:47 +0000
Subject: [PATCH] hereby removing an useful _edit method that is now
 implemented in an interaction workflow

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42863 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Type/ERP5Type.py | 20 --------------------
 1 file changed, 20 deletions(-)

diff --git a/product/ERP5Type/ERP5Type.py b/product/ERP5Type/ERP5Type.py
index d9a96c92a5..c0107880fe 100644
--- a/product/ERP5Type/ERP5Type.py
+++ b/product/ERP5Type/ERP5Type.py
@@ -501,26 +501,6 @@ class ERP5TypeInformation(XMLObject,
       """
       return self.constructTempInstance(self, self.getId()).propertyMap()
 
-    def _edit(self, *args, **kw):
-      """
-        Method overload
-
-        Reset _aq_dynamic if property_sheet definition has changed)
-
-        XXX This is only good in single thread mode.
-            In ZEO environment, we should call portal_activities
-            in order to implement a broadcast update
-            on production hosts
-      """
-      property_list = 'factory', 'property_sheet_list', 'base_category_list'
-      previous_state = [getattr(aq_base(self), x) for x in property_list]
-      result = XMLObject._edit(self, *args, **kw)
-      if previous_state != [getattr(aq_base(self), x) for x in property_list]:
-        # XXX very dubious, isnt it done in interaction workflows?
-        # most likely, only base_category_list is missing
-        self.portal_types.resetDynamicDocuments()
-      return result
-
     security.declareProtected(Permissions.AccessContentsInformation,
                               'PrincipiaSearchSource')
     def PrincipiaSearchSource(self):
-- 
2.30.9