summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2022-10-19 16:58:20 +0100
committerBrendan Abolivier <babolivier@matrix.org>2022-10-19 16:58:20 +0100
commitdd62d6baacd0738bd481de45772bd3c8c5d728e7 (patch)
treeebdbd545c245446ff4988cc97fae6d4b24decb55
parentUse backend-meta edition of issue triage workflow (#14230) (diff)
downloadsynapse-babolivier/media_api_docstring.tar.xz
Correct docstring for DeleteMediaByDateSize github/babolivier/media_api_docstring babolivier/media_api_docstring
-rw-r--r--synapse/rest/admin/media.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/rest/admin/media.py b/synapse/rest/admin/media.py
index 73470f09ae..8ed690ea9d 100644
--- a/synapse/rest/admin/media.py
+++ b/synapse/rest/admin/media.py
@@ -274,9 +274,7 @@ class DeleteMediaByID(RestServlet):
 
 
 class DeleteMediaByDateSize(RestServlet):
-    """Delete local media and local copies of remote media by
-    timestamp and size.
-    """
+    """Delete local media by timestamp and size."""
 
     PATTERNS = admin_patterns("/media/(?P<server_name>[^/]*)/delete$")