fix: closing some issues from sonarqube
Some checks failed
Tests / Run Go Tests (push) Failing after 59s

This commit is contained in:
2026-02-15 18:49:29 +01:00
parent 10df10a606
commit b4bf550863
4 changed files with 4 additions and 13 deletions

View File

@@ -257,12 +257,6 @@ func updateAbsence(r *http.Request) error {
log.Println("Cannot get Absence for id: ", absenceId, err)
return err
}
if r.FormValue("action") == "delete" {
log.Println("Deleting Absence!", "Not implemented")
// TODO
//absence.Delete()
return nil
}
if absence.Update(newAbsence) {
err = absence.Save()
@@ -272,5 +266,4 @@ func updateAbsence(r *http.Request) error {
}
}
return nil
}