Commit 510f7f60 authored by Sebastien Robin's avatar Sebastien Robin

added method beforeUncatalogObject

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11361 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b31b99e8
......@@ -659,6 +659,12 @@ class ZCatalog(Folder, Persistent, Implicit):
else:
destination_catalog.uncatalogObject(uid)
def beforeUncatalogObject(self, uid=None,path=None, sql_catalog_id=None):
""" wrapper around catalog """
catalog = self.getSQLCatalog(sql_catalog_id)
if catalog is not None:
catalog.beforeUncatalogObject(uid=uid,path=path)
def catalogTranslationList(self, object_list, sql_catalog_id=None):
"""Catalog translations.
"""
......
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