mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
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:
1 parent
0df674dc20
commit
d92ca09e19
60 files changed
+110
-573
No files matched your search
@@ -45,13 +45,6 @@ class SharingApp(app_module.App):
|
||||
self.add(menu_item)
|
||||
|
||||
|
||||
def init():
|
||||
"""Initialize the module."""
|
||||
global app
|
||||
app = SharingApp()
|
||||
app.set_enabled(True)
|
||||
|
||||
|
||||
def list_shares():
|
||||
"""Return a list of shares."""
|
||||
output = actions.superuser_run('sharing', ['list'])
|
||||
|
||||
Reference in new issue
Block a user