web/component.py
changeset 2819 b864288fd316
parent 2799 b703639614e7
child 2890 fdcb8a2bb6eb
--- a/web/component.py	Thu Aug 13 11:32:34 2009 +0200
+++ b/web/component.py	Thu Aug 13 11:49:56 2009 +0200
@@ -13,11 +13,10 @@
 
 from cubicweb import role
 from cubicweb.utils import merge_dicts
-from cubicweb.view import View, Component
+from cubicweb.view import Component
 from cubicweb.selectors import (
     paginated_rset, one_line_rset, primary_view, match_context_prop,
-    partial_has_related_entities, condition_compat, accepts_compat,
-    has_relation_compat)
+    partial_has_related_entities)
 
 
 class EntityVComponent(Component):
@@ -33,7 +32,6 @@
 
     __registry__ = 'contentnavigation'
     __select__ = one_line_rset() & primary_view() & match_context_prop()
-    registered = accepts_compat(has_relation_compat(condition_compat(View.registered)))
 
     cw_property_defs = {
         _('visible'):  dict(type='Boolean', default=True,