bug fix: full path for add user

This commit is contained in:
Usman Nasir
2021-04-04 14:26:31 +05:00
parent 0703b6b473
commit 42284b7f24

View File

@@ -283,10 +283,10 @@ password=%s""" % (rootdbpassword, rootdbpassword)
## Cleanup of deleted domains ## Cleanup of deleted domains
from plogical.acl import ACLManager from plogical.acl import ACLManager
import validators
currentACL = ACLManager.loadedACL(1) currentACL = ACLManager.loadedACL(1)
allSite = ACLManager.findAllSites(currentACL, 1) allSite = ACLManager.findAllSites(currentACL, 1)
for website in os.listdir(ClusterManager.vhostConfPath): for website in os.listdir(ClusterManager.vhostConfPath):
if website not in allSite: if website not in allSite:
@@ -300,7 +300,6 @@ password=%s""" % (rootdbpassword, rootdbpassword)
ProcessUtilities.normalExecutioner(command) ProcessUtilities.normalExecutioner(command)
self.PostStatus('All domains synced.') self.PostStatus('All domains synced.')
except BaseException as msg: except BaseException as msg: