summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-04 10:16:44 +0000
committerErik Johnston <erik@matrix.org>2019-12-04 16:23:43 +0000
commitc2f525a5251f4cbaef0cf34d6c69b42356c1f8af (patch)
tree7bc4c79a2f3ce1bdd38a95ba2480a73ad0fb8f93 /synapse/storage/_base.py
parentMerge pull request #6454 from matrix-org/erikj/clean_base_Store (diff)
downloadsynapse-c2f525a5251f4cbaef0cf34d6c69b42356c1f8af.tar.xz
Don't call SQLBaseStore methods from outside stores
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index c02248cfe9..1ed89d9f2a 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -1496,14 +1496,6 @@ class SQLBaseStore(object):
 
         return cls.cursor_to_dict(txn)
 
-    @property
-    def database_engine_name(self):
-        return self.database_engine.module.__name__
-
-    def get_server_version(self):
-        """Returns a string describing the server version number"""
-        return self.database_engine.server_version
-
 
 class _RollbackButIsFineException(Exception):
     """ This exception is used to rollback a transaction without implying