From 93ecbd5f3859b90457d22ee6be34d2bb8b21f2f5 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Mon, 4 Apr 2011 15:44:22 +0000
Subject: [PATCH] since getSearchableText is already well configurable in
 ERP5Type.Base, we should no longer have such a definition here (and using
 self.title instead of self.getTitle() is bad anyway).

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

diff --git a/product/ERP5/Document/Coordinate.py b/product/ERP5/Document/Coordinate.py
index 8094163a69..e402c8c891 100644
--- a/product/ERP5/Document/Coordinate.py
+++ b/product/ERP5/Document/Coordinate.py
@@ -118,18 +118,6 @@ class Coordinate(Base):
         """
         return self()
 
-    security.declareProtected( Permissions.AccessContentsInformation,
-                               'getSearchableText' )
-    def getSearchableText(self):
-        """
-            text for indexing
-        """
-        return "%s %s %s" % (self.title, self.description, self.asText())
-
-    security.declareProtected( Permissions.AccessContentsInformation,
-                               'SearchableText' )
-    SearchableText = getSearchableText
-
     security.declareProtected( Permissions.AccessContentsInformation,
                                'asText' )
     def asText(self):
-- 
2.30.9