Fix dirty fix ssowatconf

This commit is contained in:
Josué Tille 2019-02-20 23:07:17 +01:00
parent 76ad77f829
commit 96b65f938b
No known key found for this signature in database
GPG key ID: D5E068C6DFA8681D

View file

@ -919,11 +919,6 @@ class RestoreManager():
successfull_apps = self.targets.list("apps", include=["Success", "Warning"])
if successfull_apps != []:
# Quickfix: the old app_ssowatconf(auth) instruction failed due to
# ldap restore hooks
os.system('sudo yunohost app ssowatconf')
permission_sync_to_user(auth, force=True)
if os.path.ismount(self.work_dir):