Commit b1bdb286 authored by Levin Zimmermann's avatar Levin Zimmermann

ERP5Site: Remove compatibility with old data model

...for  getPortalDataConfigurationTypeList.

See nexedi/erp5!1630 (comment 159889).
parent 7cc36bb9
......@@ -1756,8 +1756,7 @@ class ERP5Site(ResponseHeaderGenerator, FolderMixIn, PortalObjectBase, CacheCook
"""
Returns Data Configuration types.
"""
return self._getPortalGroupedTypeList('data_configuration') or\
self._getPortalConfiguration('portal_data_configuration_type_list')
return self._getPortalGroupedTypeList('data_configuration')
security.declareProtected(Permissions.AccessContentsInformation,
'getDefaultModuleId')
......
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