Commit cb67998e authored by Yoshinori Okuji's avatar Yoshinori Okuji

Delete getPortalDefaultCollection because nothing seems to use this method,...

Delete getPortalDefaultCollection because nothing seems to use this method, and the purpose of this method is quite unknown.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4403 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 62a7ab90
...@@ -319,13 +319,6 @@ class ERP5Site ( CMFSite, FolderMixIn ): ...@@ -319,13 +319,6 @@ class ERP5Site ( CMFSite, FolderMixIn ):
""" """
return self._getPortalGroupedTypeList('order') or self._getPortalConfiguration('portal_order_type_list') return self._getPortalGroupedTypeList('order') or self._getPortalConfiguration('portal_order_type_list')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalDefaultCollection')
def getPortalDefaultCollection(self):
"""
Return order types.
"""
return self._getPortalConfiguration('portal_default_collection')
security.declareProtected(Permissions.AccessContentsInformation, 'getPortalDeliveryTypeList') security.declareProtected(Permissions.AccessContentsInformation, 'getPortalDeliveryTypeList')
def getPortalDeliveryTypeList(self): def getPortalDeliveryTypeList(self):
""" """
......
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