Commit 41ed421a authored by Julien Muchembled's avatar Julien Muchembled

TemplateTool.updateBusinessTemplateFromUrl: return installed BT

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41433 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1d086a0c
......@@ -1239,6 +1239,8 @@ class TemplateTool (BaseTool):
else:
log("Updated %s from %s" % (bt_title, download_url))
return imported_bt5
security.declareProtected(Permissions.ManagePortal,
'getBusinessTemplateUrl')
def getBusinessTemplateUrl(self, base_url_list, bt5_title):
......
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