awake.php
6 years ago
cancelBackup.php
6 years ago
cancelDownload.php
6 years ago
checkBackupCreation.php
6 years ago
checkPHPVersionCompatibility.php
6 years ago
checkRestoreCreation.php
6 years ago
cloudDropbox.php
6 years ago
curlChecker.php
6 years ago
deleteBackup.php
6 years ago
dismissDiscountNotice.php
6 years ago
downloadBackup.php
6 years ago
getAction.php
6 years ago
getBackupContent.php
6 years ago
getRunningActions.php
6 years ago
hideNotice.php
6 years ago
importBackup.php
6 years ago
isFeatureAvailable.php
6 years ago
manualBackup.php
6 years ago
modalImport.php
6 years ago
modalManualBackup.php
6 years ago
modalManualRestore.php
6 years ago
modalPrivacy.php
6 years ago
modalReview.php
6 years ago
modalTerms.php
6 years ago
resetStatus.php
6 years ago
restore.php
6 years ago
reviewBannerActions.php
6 years ago
schedule.php
6 years ago
setReviewPopupState.php
6 years ago
setUserInfoVerificationPopupState.php
6 years ago
settings.php
6 years ago
storeSubscriberInfo.php
6 years ago
storeSurveyResult.php
6 years ago
deleteBackup.php
13 lines
| 1 | <?php |
| 2 | require_once(dirname(__FILE__).'/../boot.php'); |
| 3 | require_once(SG_BACKUP_PATH.'SGBackup.php'); |
| 4 | if(isset($_POST['backupName'])) |
| 5 | { |
| 6 | $backupName = backupGuardSanitizeTextField($_POST['backupName']); |
| 7 | $backupName = backupGuardRemoveSlashes($backupName); |
| 8 | for ($i=0; $i < count($backupName) ; $i++) { |
| 9 | SGBackup::deleteBackup($backupName[$i]); |
| 10 | } |
| 11 | } |
| 12 | die('{"success":1}'); |
| 13 |