Skip to content

Commit 0be6e5b

Browse files
committed
update admindb
1 parent b598310 commit 0be6e5b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

Mailman/Cgi/admindb.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ def process_form(mlist, doc, cgidata):
792792
doc.AddItem(Link(admindburl, _('Click here to reload this page.')))
793793
# Add the footer
794794
doc.AddItem(mlist.GetMailmanFooter())
795-
return output_success_page(doc)
795+
return
796796

797797
# Create a form for the overview
798798
form = Form(mlist.GetScriptURL('admindb', absolute=1), mlist=mlist, contexts=AUTH_CONTEXTS)
@@ -808,7 +808,7 @@ def process_form(mlist, doc, cgidata):
808808
doc.AddItem(form)
809809
# Add the footer
810810
doc.AddItem(mlist.GetMailmanFooter())
811-
return output_success_page(doc)
811+
return
812812

813813
# Process the form submission
814814
if action == 'submit':
@@ -821,7 +821,7 @@ def process_form(mlist, doc, cgidata):
821821
doc.AddItem(Link(admindburl, _('Click here to return to the pending requests page.')))
822822
# Add the footer
823823
doc.AddItem(mlist.GetMailmanFooter())
824-
return output_success_page(doc)
824+
return
825825

826826
# If we get here, something went wrong
827827
doc.AddItem(_('Invalid action specified.'))
@@ -830,7 +830,6 @@ def process_form(mlist, doc, cgidata):
830830
doc.AddItem(Link(admindburl, _('Click here to return to the pending requests page.')))
831831
# Add the footer
832832
doc.AddItem(mlist.GetMailmanFooter())
833-
return output_success_page(doc)
834833

835834
except Exception as e:
836835
mailman_log('error', 'admindb: Error in process_form: %s\n%s',

0 commit comments

Comments
 (0)