mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-09 06:46:10 +01:00
bug fix: remove some functions calls from legacy upgrade
This commit is contained in:
@@ -2528,12 +2528,18 @@ vmail
|
||||
Upgrade.setupCLI()
|
||||
Upgrade.someDirectories()
|
||||
Upgrade.installLSCPD(branch)
|
||||
Upgrade.GeneralMigrations()
|
||||
|
||||
### General migrations are not needed any more
|
||||
|
||||
# Upgrade.GeneralMigrations()
|
||||
|
||||
# Upgrade.p3()
|
||||
|
||||
if os.path.exists(postfixPath):
|
||||
Upgrade.upgradeDovecot()
|
||||
time.sleep(3)
|
||||
## Also disable email service upgrade
|
||||
|
||||
# if os.path.exists(postfixPath):
|
||||
# Upgrade.upgradeDovecot()
|
||||
|
||||
|
||||
## Upgrade version
|
||||
|
||||
@@ -2541,7 +2547,10 @@ vmail
|
||||
|
||||
##
|
||||
|
||||
Upgrade.upgradeVersion()
|
||||
### Disable version upgrade too
|
||||
|
||||
# Upgrade.upgradeVersion()
|
||||
|
||||
Upgrade.UpdateMaxSSLCons()
|
||||
|
||||
## Update LSCPD PHP
|
||||
|
||||
@@ -1723,6 +1723,7 @@ app.controller('listTableUsers', function ($scope, $http) {
|
||||
};
|
||||
|
||||
$scope.controlUserState = function (userName, state) {
|
||||
|
||||
$scope.cyberpanelLoading = false;
|
||||
|
||||
var url = "/users/controlUserState";
|
||||
|
||||
Reference in New Issue
Block a user