diff --git a/plinth/modules/config/views.py b/plinth/modules/config/views.py index b7ffb7f8c..a0f264c30 100644 --- a/plinth/modules/config/views.py +++ b/plinth/modules/config/views.py @@ -26,8 +26,8 @@ from django.utils.translation import ugettext as _ from plinth import actions from plinth.modules import config -from plinth.signals import (domain_added, domain_removed, domainname_change, - post_hostname_change, pre_hostname_change) +from plinth.signals import (domain_added, domain_removed, post_hostname_change, + pre_hostname_change) from .forms import ConfigurationForm @@ -151,10 +151,6 @@ def set_domainname(domainname, old_domainname): LOGGER.info('Changing domain name to - %s', domainname) actions.superuser_run('domainname-change', [domainname]) - domainname_change.send_robust(sender='config', - old_domainname=old_domainname, - new_domainname=domainname) - # Update domain registered with Name Services module. if old_domainname: domain_removed.send_robust(sender='config', diff --git a/plinth/signals.py b/plinth/signals.py index a64649c06..5bf373254 100644 --- a/plinth/signals.py +++ b/plinth/signals.py @@ -25,7 +25,6 @@ post_module_loading = Signal() post_setup = Signal(providing_args=['module_name']) pre_hostname_change = Signal(providing_args=['old_hostname', 'new_hostname']) post_hostname_change = Signal(providing_args=['old_hostname', 'new_hostname']) -domainname_change = Signal(providing_args=['old_domainname', 'new_domainname']) domain_added = Signal( providing_args=['domain_type', 'name', 'description', 'services']) domain_removed = Signal(providing_args=['domain_type', 'name'])