adjust DeleteBorgBackupLocationVars to also delete the borg.config file

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2025-12-02 12:42:13 +01:00
parent a842cbb82a
commit 83de526051
2 changed files with 10 additions and 2 deletions

View file

@ -159,7 +159,7 @@ readonly class ConfigurationController {
}
if (isset($request->getParsedBody()['delete_borg_backup_location_vars'])) {
$this->configurationManager->DeleteBorgBackupLocationVars();
$this->configurationManager->DeleteBorgBackupLocationItems();
}
return $response->withStatus(201)->withHeader('Location', '.');