From 6a1aaefc2045574ebef5c660bb8e35c5b270c67f Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Fri, 12 Dec 2003 10:44:16 +0000
Subject: [PATCH] probably improved by jps

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@94 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/Coramy/skins/coramy_erp5/ERP5Site_reindexAll.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/product/Coramy/skins/coramy_erp5/ERP5Site_reindexAll.py b/product/Coramy/skins/coramy_erp5/ERP5Site_reindexAll.py
index fe6500d7ff..4826a87f60 100755
--- a/product/Coramy/skins/coramy_erp5/ERP5Site_reindexAll.py
+++ b/product/Coramy/skins/coramy_erp5/ERP5Site_reindexAll.py
@@ -20,14 +20,14 @@ print "#### Indexing categories ####"
 
 # We index simulation first to make sure we can calculate tests (ie. related quantity)
 print "#### Indexing simulation ####"
-#for id in list(context.portal_simulation.objectIds()):
-#  context.portal_activities.newMessage('SQLDict', '%s/portal_simulation/%s' % (base_url, id), {}, 'immediateReindexObject')
+for id in list(context.portal_simulation.objectIds()):
+  context.portal_activities.newMessage('SQLDict', '%s/portal_simulation/%s' % (base_url, id), {}, 'immediateReindexObject')
 
 for folder in context.portal_url.getPortalObject().objectValues(("ERP5 Folder",)):
   print "#### Indexing contents inside folder %s ####" % folder.id
   for id in list(folder.objectIds()):
-    #pass
+    pass
     #context.portal_activities.newMessage('SQLDict', '%s/%s/%s' % (base_url, folder.getId(), id), {}, 'recursiveImmediateReindexObject')
-    context.portal_activities.newMessage('SQLDict', '%s/%s/%s' % (base_url, folder.getId(), id), {}, 'Folder_reindexAll')
+    #context.portal_activities.newMessage('SQLDict', '%s/%s/%s' % (base_url, folder.getId(), id), {}, 'Folder_reindexAll')
 
 return printed
-- 
2.30.9