final v2backups and sslv2

This commit is contained in:
usman@cyberpersons.com
2023-04-11 22:47:14 +05:00
parent db6762ebdf
commit 9105d8e4de
8 changed files with 443 additions and 301 deletions

View File

@@ -65,9 +65,15 @@ class BackupManager:
return proc.render()
def schedulev2Backups(self, request=None, userID=None, data=None):
if ACLManager.CheckForPremFeature('all'):
BackupStat = 1
else:
BackupStat = 0
currentACL = ACLManager.loadedACL(userID)
websitesName = ACLManager.findAllSites(currentACL, userID)
proc = httpProc(request, 'IncBackups/ScheduleV2Backup.html', {'websiteList': websitesName}, 'createBackup')
proc = httpProc(request, 'IncBackups/ScheduleV2Backup.html', {'websiteList': websitesName, "BackupStat": BackupStat}, 'createBackup')
return proc.render()
def gDrive(self, request=None, userID=None, data=None):