mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +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 import package
|
||||||
from plinth.modules import shaarli
|
from plinth.modules import shaarli
|
||||||
|
|
||||||
|
def on_install():
|
||||||
|
"""Notify that the service is now enabled."""
|
||||||
|
shaarli.service.notify_enabled(None, True)
|
||||||
|
|
||||||
@package.required(['shaarli'])
|
@package.required(['shaarli'])
|
||||||
def index(request):
|
def index(request):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user