From 4b024b269b79cb87c85f041fa7e4b8a9d3e7a854 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 8 Dec 2021 15:32:06 -0800 Subject: [PATCH] email_server: Fix issue with handling domain removal Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/email_server/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/email_server/__init__.py b/plinth/modules/email_server/__init__.py index a0790554c..5934f5b94 100644 --- a/plinth/modules/email_server/__init__.py +++ b/plinth/modules/email_server/__init__.py @@ -190,7 +190,7 @@ def on_domain_added(sender, domain_type, name, description='', services=None, audit.domain.set_domains() -def on_domain_removed(sender, domain_type, name, **kwargs): +def on_domain_removed(sender, domain_type, name='', **kwargs): """Handle removal of a domain.""" if app.needs_setup(): return