summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/util/frozenutils.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/synapse/util/frozenutils.py b/synapse/util/frozenutils.py
index 1fb67df6b9..1874464c8b 100644
--- a/synapse/util/frozenutils.py
+++ b/synapse/util/frozenutils.py
@@ -46,11 +46,3 @@ def unfreeze(o):
         pass
 
     return o
-
-
-class FrozenEncoder(json.JSONEncoder):
-    def default(self, o):
-        if isinstance(o, frozendict):
-            return dict(o)
-
-        return json.JSONEncoder(self, o)