Commit 326beaeb authored by Romain Courteaud's avatar Romain Courteaud

Reindex the contributions tool if present.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31643 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5faae785
...@@ -166,7 +166,7 @@ tool_list = [portal.portal_templates, portal.portal_trash,\n ...@@ -166,7 +166,7 @@ tool_list = [portal.portal_templates, portal.portal_trash,\n
portal.portal_deliveries, portal.portal_orders,\n portal.portal_deliveries, portal.portal_orders,\n
portal.portal_caches, portal.portal_types]\n portal.portal_caches, portal.portal_types]\n
possible_tool_list = [\'portal_gadgets\', \'portal_contribution_registry\',\n possible_tool_list = [\'portal_gadgets\', \'portal_contribution_registry\',\n
\'portal_roundings\',]\n \'portal_roundings\', \'portal_contributions\']\n
for tool_id in possible_tool_list:\n for tool_id in possible_tool_list:\n
if getattr(portal, tool_id, None) is not None:\n if getattr(portal, tool_id, None) is not None:\n
tool_list.append(getattr(portal, tool_id))\n tool_list.append(getattr(portal, tool_id))\n
......
1419 1420
\ No newline at end of file \ 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