Commit 71363d91 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Remove uninstall from CategoryTemplateItem.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2224 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 10570aeb
...@@ -202,13 +202,6 @@ class CategoryTemplateItem(ObjectTemplateItem): ...@@ -202,13 +202,6 @@ class CategoryTemplateItem(ObjectTemplateItem):
for property,value in property_list.items(): for property,value in property_list.items():
category.setProperty(property,value) 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): class SkinTemplateItem(ObjectTemplateItem):
......
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