mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
shaarli: on_install function
please read https://github.com/freedombox/Plinth/issues/344
This commit is contained in:
parent
81ffe17c1e
commit
32a5b3cfbc
@ -28,6 +28,9 @@ from plinth import actions
|
||||
from plinth import package
|
||||
from plinth.modules import shaarli
|
||||
|
||||
def on_install():
|
||||
"""Notify that the service is now enabled."""
|
||||
shaarli.service.notify_enabled(None, True)
|
||||
|
||||
@package.required(['shaarli'])
|
||||
def index(request):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user