Commit d4a96a93 authored by Łukasz Nowak's avatar Łukasz Nowak

- do not sort business templates, as upgrader user is responsible for providing list

As order of how Business Templates are being installed can impact site behavior upgrader needs possibility to have his own ordering, which shall not be impacted by upgrader logic itself.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45488 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 83a994b7
......@@ -82,10 +82,8 @@ bt5_id_list = dict([(x, True) for x in list(required_bt5_id_list) + \\\n
list(reinstallable_bt5_id_list) \\\n
if x in available_bt5_id_list]).keys()\n
\n
# sort by dependencies\n
bt5_list = [portal_templates.decodeRepositoryBusinessTemplateUid(x.uid) for x in \\\n
available_bt5_list if x.title in bt5_id_list]\n
bt5_list = portal_templates.sortBusinessTemplateList(bt5_list)\n
\n
installed_bt5_title_list = [o.getTitle() for o in portal_templates.getInstalledBusinessTemplateList()]\n
\n
......
586
\ No newline at end of file
587
\ No newline at end of file
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