[CMF-checkins] CVS: Products/CMFCore - CatalogTool.py:1.64

Yvo Schubbe y.2005- at wcm-solutions.de
Thu Jul 7 13:24:58 EDT 2005


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv24784/CMFCore

Modified Files:
	CatalogTool.py 
Log Message:
removed obsolete Vocabulary (this did belong to the no longer used TextIndex)


=== Products/CMFCore/CatalogTool.py 1.63 => 1.64 ===
--- Products/CMFCore/CatalogTool.py:1.63	Sun Apr 24 19:50:04 2005
+++ Products/CMFCore/CatalogTool.py	Thu Jul  7 13:24:57 2005
@@ -97,13 +97,6 @@
 
     def __init__(self):
         ZCatalog.__init__(self, self.getId())
-
-        if not hasattr(self, 'Vocabulary'):
-            # As of 2.6, the Catalog no longer adds a vocabulary in itself
-            from Products.PluginIndexes.TextIndex.Vocabulary import Vocabulary
-            vocabulary = Vocabulary('Vocabulary', 'Vocabulary', globbing=1)
-            self._setObject('Vocabulary', vocabulary)
-
         self._initIndexes()
 
     #



More information about the CMF-checkins mailing list