summaryrefslogtreecommitdiff
path: root/src/mailman/rest/lists.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/rest/lists.py')
-rw-r--r--src/mailman/rest/lists.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mailman/rest/lists.py b/src/mailman/rest/lists.py
index 0103022e7..9372d71dc 100644
--- a/src/mailman/rest/lists.py
+++ b/src/mailman/rest/lists.py
@@ -135,10 +135,7 @@ class AList(_ListBase):
"""Delete the named mailing list."""
if self._mlist is None:
return http.not_found()
- remove_list(self._mlist.fqdn_listname, self._mlist,
- # XXX 2010-07-06 barry we need a way to remove the list
- # archives either with the mailing list or afterward.
- archives=False)
+ remove_list(self._mlist.fqdn_listname, self._mlist)
return no_content()
@resource.child(member_matcher)