diff --git a/plinth/modules/gitweb/__init__.py b/plinth/modules/gitweb/__init__.py index 1f7e1a1cd..6cac4b9ca 100644 --- a/plinth/modules/gitweb/__init__.py +++ b/plinth/modules/gitweb/__init__.py @@ -184,6 +184,11 @@ def diagnose(): return results +def restore_post(packet): + """Update access after restoration of backups.""" + app.update_service_access() + + def have_public_repos(repos): """Check for public repositories""" return any((repo['access'] == 'public' for repo in repos))