Commit 04172fd4 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog : Rename getUrl to getCatalogUrl

This step is needed due to the use of BaseTool as Base class for CatalogTool
due to which there were conflict between getUrl from the Base and the one
from the BaseTool.
parent 08099e3e
......@@ -900,8 +900,8 @@ class CatalogTool (CopyContainer, ZCatalog, CMFCoreCatalogTool, BaseTool):
path = self.__url(object)
self.beforeUncatalogObject(path=path,uid=uid, sql_catalog_id=sql_catalog_id)
security.declarePrivate('getUrl')
def getUrl(self, object):
security.declarePrivate('getCatalogUrl')
def getCatalogUrl(self, object):
return self.__url(object)
security.declarePrivate('moveObject')
......
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