Skip to content

Commit

Permalink
Remove dead media cleanup flag. Closes #1423.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Aug 3, 2023
1 parent a440b79 commit e89b9ff
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd/media.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ func handleUploadMedia(c echo.Context) error {
fName, err = app.media.Put(fName, contentType, src)
if err != nil {
app.log.Printf("error uploading file: %v", err)
cleanUp = true
return echo.NewHTTPError(http.StatusInternalServerError,
app.i18n.Ts("media.errorUploading", "error", err.Error()))
}
Expand Down

0 comments on commit e89b9ff

Please sign in to comment.