From 2f35d341d95d0e61964d5f251e67c302f4e8c52e Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Wed, 12 Oct 2005 06:11:55 +0000
Subject: [PATCH] Set up portal_activities earlier. 1.2 times faster.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3997 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/ERP5Site.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/ERP5Site.py b/product/ERP5/ERP5Site.py
index 3e89d2668b..6fe014ecad 100755
--- a/product/ERP5/ERP5Site.py
+++ b/product/ERP5/ERP5Site.py
@@ -881,6 +881,8 @@ class ERP5Generator(PortalGenerator):
         portal_skins.activity.SQLDict_createMessageTable()
         portal_skins.activity.SQLQueue_createMessageTable()
 
+        self.setupLastTools(p,**kw)
+
         # Finish setup
         self.setupMembersFolder(p)
 
@@ -898,8 +900,6 @@ class ERP5Generator(PortalGenerator):
         # XXX for some strange reason, member was indexed 5 times
         self.setupIndex(p,**kw)
 
-        self.setupLastTools(p,**kw)
-
     def setupBusinessTemplate(self,p):
         """
         Install the portal_type of Business Template
-- 
2.30.9