cubicweb/schemas/base.py
changeset 11775 39cf9e55ada8
parent 11767 432f87a63057
child 12539 10159a3d1d72
--- a/cubicweb/schemas/base.py	Wed Oct 05 15:30:10 2016 +0200
+++ b/cubicweb/schemas/base.py	Thu Oct 06 12:11:23 2016 +0200
@@ -328,33 +328,6 @@
     composite = 'object'
 
 
-class CWSourceSchemaConfig(EntityType):
-    __permissions__ = ENTITY_MANAGERS_PERMISSIONS
-    cw_for_source = SubjectRelation(
-        'CWSource', inlined=True, cardinality='1*', composite='object',
-        __permissions__=RELATION_MANAGERS_PERMISSIONS)
-    options = String(description=_('allowed options depends on the source type'))
-
-
-class rtype_cw_schema(RelationDefinition):
-    __permissions__ = RELATION_MANAGERS_PERMISSIONS
-    name = 'cw_schema'
-    subject = 'CWSourceSchemaConfig'
-    object = ('CWEType', 'CWRType')
-    inlined = True
-    cardinality = '1*'
-    composite = 'object'
-    constraints = [RQLConstraint('NOT O final TRUE')]
-
-class rdef_cw_schema(RelationDefinition):
-    __permissions__ = RELATION_MANAGERS_PERMISSIONS
-    name = 'cw_schema'
-    subject = 'CWSourceSchemaConfig'
-    object = 'CWRelation'
-    inlined = True
-    cardinality = '1*'
-    composite = 'object'
-
 # "abtract" relation types, no definition in cubicweb itself ###################
 
 class identical_to(RelationType):