Commit 416a14ff authored by Romain Courteaud's avatar Romain Courteaud

Revert revision 14488.

Do not reindex portal activities, as it is not a BaseTool


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14492 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 349d4f68
...@@ -106,15 +106,13 @@ context.portal_categories.activate(\n ...@@ -106,15 +106,13 @@ context.portal_categories.activate(\n
passive_commit=passive_commit)\n passive_commit=passive_commit)\n
\n \n
print "#### Indexing alarms ####"\n print "#### Indexing alarms ####"\n
print "#### Indexing active processes ####"\n
print "#### Indexing preferences ####"\n print "#### Indexing preferences ####"\n
folder_tag = \'module\'\n folder_tag = \'module\'\n
folder_after_tag = (\'person_stage_1\', \'group_person_stage_1\')\n folder_after_tag = (\'person_stage_1\', \'group_person_stage_1\')\n
object_tag = \'document\'\n object_tag = \'document\'\n
object_after_tag = (\'module\', \'category\', \'person_stage_1\', \'group_person_stage_1\')\n object_after_tag = (\'module\', \'category\', \'person_stage_1\', \'group_person_stage_1\')\n
object_priority = 2\n object_priority = 2\n
for folder in [context.portal_alarms, context.portal_activities,\n for folder in [context.portal_alarms, context.portal_preferences]:\n
context.portal_preferences]:\n
folder.activate(\n folder.activate(\n
tag=folder_tag,\n tag=folder_tag,\n
after_tag=folder_after_tag).Folder_reindexAll(\n after_tag=folder_after_tag).Folder_reindexAll(\n
......
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