From 42284b7f24d32b4d761f499da1f39f8b26ebd013 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 4 Apr 2021 14:26:31 +0500 Subject: [PATCH] bug fix: full path for add user --- plogical/ClusterManager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plogical/ClusterManager.py b/plogical/ClusterManager.py index b2060d036..611b427d7 100644 --- a/plogical/ClusterManager.py +++ b/plogical/ClusterManager.py @@ -283,10 +283,10 @@ password=%s""" % (rootdbpassword, rootdbpassword) ## Cleanup of deleted domains from plogical.acl import ACLManager - import validators currentACL = ACLManager.loadedACL(1) allSite = ACLManager.findAllSites(currentACL, 1) + for website in os.listdir(ClusterManager.vhostConfPath): if website not in allSite: @@ -300,7 +300,6 @@ password=%s""" % (rootdbpassword, rootdbpassword) ProcessUtilities.normalExecutioner(command) - self.PostStatus('All domains synced.') except BaseException as msg: