cubicweb/server/sources/native.py
changeset 11750 18e7b9829471
parent 11430 1ea5ba74a13c
child 11756 60fed6272771
--- a/cubicweb/server/sources/native.py	Fri Sep 30 18:24:17 2016 +0200
+++ b/cubicweb/server/sources/native.py	Wed Sep 28 22:17:36 2016 +0200
@@ -505,22 +505,6 @@
             authentifier.set_schema(self.schema)
         clear_cache(self, 'need_fti_indexation')
 
-    def support_entity(self, etype, write=False):
-        """return true if the given entity's type is handled by this adapter
-        if write is true, return true only if it's a RW support
-        """
-        return etype not in NONSYSTEM_ETYPES
-
-    def support_relation(self, rtype, write=False):
-        """return true if the given relation's type is handled by this adapter
-        if write is true, return true only if it's a RW support
-        """
-        if write:
-            return rtype not in NONSYSTEM_RELATIONS
-        # due to current multi-sources implementation, the system source
-        # can't claim not supporting a relation
-        return True  #not rtype == 'content_for'
-
     @statsd_timeit
     def authenticate(self, cnx, login, **kwargs):
         """return CWUser eid for the given login and other authentication