mirror of
https://github.com/knadh/listmonk.git
synced 2024-12-28 09:58:52 +08:00
Remove dead media cleanup flag. Closes #1423.
This commit is contained in:
parent
a440b79530
commit
e89b9ffb30
1 changed files with 0 additions and 1 deletions
|
@ -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()))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue