[Zope3-checkins] CVS: Zope3/src/zope/app/index - configure.zcml:1.4 subscribers.py:NONE

Anthony Baxter anthony@interlink.com.au
Fri, 11 Jul 2003 01:51:09 -0400


Update of /cvs-repository/Zope3/src/zope/app/index
In directory cvs.zope.org:/tmp/cvs-serv13561/src/zope/app/index

Modified Files:
	configure.zcml 
Removed Files:
	subscribers.py 
Log Message:
Moved the Registration object from zope.app.index to zope.app.services.hub,
and changed the bootstrap code to add a Registration object if there is not
already one installed. This means that by default the ObjectHub is now 
actually doing something, rather than sitting by itself feeling lonely.

When a Registration object is added by bootstrap, it's subscribed by
default.


=== Zope3/src/zope/app/index/configure.zcml 1.3 => 1.4 ===
--- Zope3/src/zope/app/index/configure.zcml:1.3	Wed Mar 26 11:00:14 2003
+++ Zope3/src/zope/app/index/configure.zcml	Fri Jul 11 01:50:33 2003
@@ -1,16 +1,5 @@
 <zopeConfigure xmlns="http://namespaces.zope.org/zope">
 
-  <content class="zope.app.index.subscribers.Registration">
-    <require
-      permission="zope.ManageServices"
-      interface="zope.app.index.subscribers.ISubscriptionControl"
-      />
-    <factory
-      id="zope.app.index.subscribers.Registration"
-      permission="zope.ManageServices"
-      />
-  </content>
-
   <include package=".text" />
   <include package=".field" />
 

=== Removed File Zope3/src/zope/app/index/subscribers.py ===