From 71363d91287d3b534a1fc7f4948f1f899d93d56d Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Mon, 17 Jan 2005 17:11:36 +0000 Subject: [PATCH] Remove uninstall from CategoryTemplateItem. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2224 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Document/BusinessTemplate.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/product/ERP5/Document/BusinessTemplate.py b/product/ERP5/Document/BusinessTemplate.py index 0886f0e2e8..c751556005 100755 --- a/product/ERP5/Document/BusinessTemplate.py +++ b/product/ERP5/Document/BusinessTemplate.py @@ -202,13 +202,6 @@ class CategoryTemplateItem(ObjectTemplateItem): for property,value in property_list.items(): category.setProperty(property,value) - def uninstall(self, context, **kw): - p = context.getPortalObject() - id_list = p.objectIds() - for id in self._archive.keys(): - if id in id_list: - p.manage_delObjects([id]) - BaseTemplateItem.uninstall(self, context, **kw) class SkinTemplateItem(ObjectTemplateItem): -- 2.30.9