[Zope-Checkins] CVS: Zope2 - __init__.py:1.1.2.15
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Sun, 20 May 2001 14:14:05 -0400
Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes
In directory serenade:/tmp/cvs-serv11643
Modified Files:
Tag: ajung-dropin-registry
__init__.py
Log Message:
cleanup
--- Updated File __init__.py in package Zope2 --
--- __init__.py 2001/05/18 13:52:01 1.1.2.14
+++ __init__.py 2001/05/20 18:14:05 1.1.2.15
@@ -11,33 +11,6 @@
def initialize(context):
-# context.registerClass(
-# FieldIndex.FieldIndex,
-# permission='Add Pluggable Index',
-# constructors=(manage_addFieldIndexForm,
-# manage_addFieldIndex),
-# icon="www/index.gif",
-# visibility=None
-# )
-
-# context.registerClass(
-# KeywordIndex.KeywordIndex,
-# permission='Add Pluggable Index',
-# constructors=(manage_addKeywordIndexForm,
-# manage_addKeywordIndex),
-# icon="www/index.gif",
-# visibility=None
-# )
-
-# context.registerClass(
-# TextIndex.TextIndex,
-# permission='Add Pluggable Index',
-# constructors=(manage_addTextIndexForm,
-# manage_addTextIndex),
-# icon="www/index.gif",
-# visibility=None
-# )
-
context.registerClass(
PathIndex.PathIndex.PathIndex,
permission='Add Pluggable Index',
@@ -79,15 +52,6 @@
# context.registerHelp()
# context.registerHelpTitle('Indexes (Pluggable)')
-#manage_addFieldIndexForm = FieldIndex.manage_addFieldIndexForm
-#manage_addFieldIndex = FieldIndex.manage_addFieldIndex
-#
-#manage_addKeywordIndexForm = KeywordIndex.manage_addKeywordIndexForm
-#manage_addKeywordIndex = KeywordIndex.manage_addKeywordIndex
-#
-#manage_addTextIndexForm = TextIndex.manage_addTextIndexForm
-#manage_addTextIndex = TextIndex.manage_addTextIndex
-#
manage_addTextIndexForm = TextIndex.TextIndex.manage_addTextIndexForm
manage_addTextIndex = TextIndex.TextIndex.manage_addTextIndex