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: