summary refs log tree commit diff
path: root/synapse/rest/client/v1/admin.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-07-06 15:56:59 +0100
committerErik Johnston <erik@matrix.org>2016-07-06 15:56:59 +0100
commit67f2c901ea4196d869380c1c5cdd8569934857ed (patch)
treee0a7c1778a0fa12864e5eff53095f01b6b639931 /synapse/rest/client/v1/admin.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/test2 (diff)
downloadsynapse-67f2c901ea4196d869380c1c5cdd8569934857ed.tar.xz
Add rest servlet. Fix SQL.
Diffstat (limited to 'synapse/rest/client/v1/admin.py')
-rw-r--r--synapse/rest/client/v1/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/client/v1/admin.py b/synapse/rest/client/v1/admin.py
index 71537a7d0b..b0cb31a448 100644
--- a/synapse/rest/client/v1/admin.py
+++ b/synapse/rest/client/v1/admin.py
@@ -124,3 +124,4 @@ def register_servlets(hs, http_server):
     WhoisRestServlet(hs).register(http_server)
     PurgeMediaCacheRestServlet(hs).register(http_server)
     DeactivateAccountRestServlet(hs).register(http_server)
+    PurgeHistoryRestServlet(hs).register(http_server)