summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-09-23 10:30:25 +0100
committerMark Haines <mark.haines@matrix.org>2015-09-23 10:30:25 +0100
commit1d9036aff2be9ce089114b1389cc86a34ccd8490 (patch)
tree3663397df7e002ba458103f03fd2e3e75098db41 /synapse/storage
parentsynapse/storage/_base.py:_simple_selectupdate_one was unused (diff)
downloadsynapse-1d9036aff2be9ce089114b1389cc86a34ccd8490.tar.xz
synapse/storage/_base.py:_simple_delete was unused
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/_base.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index 79021bde6b..33751f3092 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -707,16 +707,6 @@ class SQLBaseStore(object):
                 raise StoreError(500, "more than one row matched")
         return self.runInteraction(desc, func)
 
-    def _simple_delete(self, table, keyvalues, desc="_simple_delete"):
-        """Executes a DELETE query on the named table.
-
-        Args:
-            table : string giving the table name
-            keyvalues : dict of column names and values to select the row with
-        """
-
-        return self.runInteraction(desc, self._simple_delete_txn)
-
     def _simple_delete_txn(self, txn, table, keyvalues):
         sql = "DELETE FROM %s WHERE %s" % (
             table,