From 692412d698762bfcc68b879fd0df8d5425899fdb Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Wed, 3 Jun 2009 12:22:26 +0000
Subject: [PATCH] In explanation about manual checks on catalog result, remove
 a case (out of 3) which is not true any more.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27349 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Security/ERP5UserManager.py | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/product/ERP5Security/ERP5UserManager.py b/product/ERP5Security/ERP5UserManager.py
index 9a8f2ac453..25c212b9c0 100644
--- a/product/ERP5Security/ERP5UserManager.py
+++ b/product/ERP5Security/ERP5UserManager.py
@@ -238,18 +238,6 @@ class ERP5UserManager(BasePlugin):
           #  | foo |
           #  +-----+
           #  1 row in set (0.01 sec)
-          # " foo", "foo " and other padding variations because of
-          # ZSQLCatalog (feature ?):
-          #  (Pdb) print portal.portal_catalog.unrestrictedSearchResults(\
-          #              portal_type="Person", reference='  foo  ', src__=1)
-          #  SELECT DISTINCT
-          #     catalog.path,   catalog.uid
-          #  FROM
-          #     catalog AS catalog
-          #  WHERE
-          #    1 = 1
-          #    AND (((((catalog.portal_type = 'Person'))))) AND (((((catalog.reference = 'foo')))))
-          #  LIMIT 1000
           # "bar OR foo" because of ZSQLCatalog tokenizing searched sgtrings
           # by default (feature).
           result = [x.path for x in result if (not exact_match)
-- 
2.30.9