Commit abb6a210 authored by Vincent Pelletier's avatar Vincent Pelletier

Products.ERP5.ERP5Site: Declare getCoreBusinessTemplateList public.

But make it non-publishable.
parent 63b1b1ac
...@@ -278,14 +278,12 @@ class ERP5Site(ResponseHeaderGenerator, FolderMixIn, PortalObjectBase, CacheCook ...@@ -278,14 +278,12 @@ class ERP5Site(ResponseHeaderGenerator, FolderMixIn, PortalObjectBase, CacheCook
PortalObjectBase.__init__(self, id) PortalObjectBase.__init__(self, id)
self.creation_date = DateTime() self.creation_date = DateTime()
security.declarePrivate('getCoreBusinessTemplateList') security.declarePublic('getCoreBusinessTemplateList')
def getCoreBusinessTemplateList(self): def getCoreBusinessTemplateList(self):
""" # Return the list of business templates expected to be installed when this
Return the list of business templates expected to be installed when this # class is instanciated. Allows including these business templates in the
class is instanciated. Allows including these business templates in the # list of business templates to upgrade (ex: in upgrade unit tests) without
list of business templates to upgrade (ex: in upgrade unit tests) without # duplicating this list.
duplicating this list.
"""
return [ return [
'erp5_property_sheets', 'erp5_property_sheets',
'erp5_core', 'erp5_core',
......
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