Skip to content

Commit aa69733

Browse files
committed
bug fix: email configs reset
1 parent 963a49e commit aa69733

File tree

3 files changed

+890
-6
lines changed

3 files changed

+890
-6
lines changed

cloudAPI/cloudManager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ def ResetEmailConfigurations(self):
14921492
writeToFile.write('Starting..,0')
14931493
writeToFile.close()
14941494

1495-
execPath = "/usr/local/CyberCP/bin/python " + virtualHostUtilities.cyberPanel + "/mailServer/mailserverManager.py"
1495+
execPath = "/usr/local/CyberCP/bin/python " + virtualHostUtilities.cyberPanel + "/plogical/mailUtilities.py"
14961496
execPath = execPath + ' ResetEmailConfigurations --tempStatusPath %s' % (tempStatusPath)
14971497

14981498
ProcessUtilities.popenExecutioner(execPath)

mailServer/mailserverManager.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@
33
import os.path
44
import sys
55
import django
6-
76
from plogical.httpProc import httpProc
8-
97
sys.path.append('/usr/local/CyberCP')
108
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "CyberCP.settings")
119
django.setup()
12-
from django.shortcuts import render,redirect
1310
from django.http import HttpResponse
1411
try:
1512
from .models import Domains,EUsers
@@ -62,7 +59,6 @@ def loadEmailHome(self):
6259
None, 'createEmail')
6360
return proc.render()
6461

65-
6662
def createEmailAccount(self):
6763
userID = self.request.session['userID']
6864
currentACL = ACLManager.loadedACL(userID)

0 commit comments

Comments
 (0)