framework: Remove module init() functions

Fixes #1906

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati authored and James Valleroy committed 2020-08-03 18:06:48 -04:00
1 parent 0df674dc20
commit d92ca09e19
60 files changed
+110 -573

No files matched your search

-9
View File
@@ -92,15 +92,6 @@ class DateTimeApp(app_module.App):
return self._is_time_managed()
def init():
"""Initialize the date/time module."""
global app
app = DateTimeApp()
if app.is_enabled():
app.set_enabled(True)
def setup(helper, old_version=None):
"""Install and configure the module."""
helper.call('post', app.enable)