mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
email_server: Fix issue with handling domain removal
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
4ec1e15fc1
commit
4b024b269b
@ -190,7 +190,7 @@ def on_domain_added(sender, domain_type, name, description='', services=None,
|
|||||||
audit.domain.set_domains()
|
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."""
|
"""Handle removal of a domain."""
|
||||||
if app.needs_setup():
|
if app.needs_setup():
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user