Skip to content

Commit e89b9ff

Browse files
committed
Remove dead media cleanup flag. Closes #1423.
1 parent a440b79 commit e89b9ff

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/media.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ func handleUploadMedia(c echo.Context) error {
6262
fName, err = app.media.Put(fName, contentType, src)
6363
if err != nil {
6464
app.log.Printf("error uploading file: %v", err)
65-
cleanUp = true
6665
return echo.NewHTTPError(http.StatusInternalServerError,
6766
app.i18n.Ts("media.errorUploading", "error", err.Error()))
6867
}

0 commit comments

Comments
 (0)