From d034509aaa4c8309dd4ee2fe0725ceef598e5fcf Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Wed, 2 Mar 2005 14:48:59 +0000
Subject: [PATCH] We must call getSecurityUid only once !!!!

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2622 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Catalog/CatalogTool.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/product/ERP5Catalog/CatalogTool.py b/product/ERP5Catalog/CatalogTool.py
index 5112a3540b..84e1a5053f 100755
--- a/product/ERP5Catalog/CatalogTool.py
+++ b/product/ERP5Catalog/CatalogTool.py
@@ -345,7 +345,6 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
           for i in range(0, len(object_path) - len(portal_path) - 2):
             document_object = document_object.aq_parent
           document_w = IndexableObjectWrapper({}, document_object)
-          (security_uid, optimised_roles_and_users) = catalog.getSecurityUid(document_w)
         else:
           document_w = w
 
-- 
2.30.9