Skip to content

Commit 2c90f9f

Browse files
committed
Fix error
1 parent 08f7ce6 commit 2c90f9f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

web/edit/server/index.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,13 +1330,7 @@
13301330
}
13311331
}
13321332
if (empty($_SESSION["error_msg"])) {
1333-
if (
1334-
$v_incremental_backups["SNAPSHOTS"] != $_POST["v_snapshots"] ||
1335-
$v_incremental_backups["KEEP_DAILY"] != $_POST["v_keep_daily"] ||
1336-
$v_incremental_backups["KEEP_WEEKLY"] != $_POST["v_keep_weekly"] ||
1337-
$v_incremental_backups["KEEP_MONTHLY"] != $_POST["v_keep_montly"] ||
1338-
$v_incremental_backups["KEEP_YEARLY"] != $_POST["v_keep_yearly"]
1339-
) {
1333+
if ($_POST["v_backup_incremental"] !== "yes" && $_SESSION["BACKUP_INCREMENTAL"] === "yes") {
13401334
exec(HESTIA_CMD . "v-delete-backup-host-restic ", $output, $return);
13411335
check_return_code($return_var, $output);
13421336
unset($output);

0 commit comments

Comments
 (0)