summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/stats.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py
index 35fca1dc7b..824e57bad7 100644
--- a/synapse/storage/stats.py
+++ b/synapse/storage/stats.py
@@ -40,12 +40,6 @@ PER_SLICE_FIELDS = {"room": (), "user": ()}
 TYPE_TO_TABLE = {"room": ("room_stats", "room_id"), "user": ("user_stats", "user_id")}
 
 
-class OldCollectionRequired(Exception):
-    """ Signal that we need to collect old stats rows and retry. """
-
-    pass
-
-
 class StatsStore(StateDeltasStore):
     def __init__(self, db_conn, hs):
         super(StatsStore, self).__init__(db_conn, hs)