dynamicdns: Drop unnecessary code to set app as enabled

This is already handled by module loader.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2020-09-10 17:02:02 -07:00 committed by James Valleroy
parent 75a46962f0
commit e9559b2d0d
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

View File

@ -9,9 +9,9 @@ from plinth import actions
from plinth import app as app_module
from plinth import cfg, menu
from plinth.modules.names.components import DomainType
from plinth.modules.users.components import UsersAndGroups
from plinth.signals import domain_added
from plinth.utils import format_lazy
from plinth.modules.users.components import UsersAndGroups
from .manifest import backup # noqa, pylint: disable=unused-import
@ -76,7 +76,6 @@ class DynamicDNSApp(app_module.App):
domain_type='domain-type-dynamic',
name=current_status['dynamicdns_domain'],
services='__all__')
self.set_enabled(True)
def is_enabled(self):
"""Return whether all the leader components are enabled.