mirror of
https://github.com/knadh/listmonk.git
synced 2024-12-29 02:14:04 +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)
|
fName, err = app.media.Put(fName, contentType, src)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
app.log.Printf("error uploading file: %v", err)
|
app.log.Printf("error uploading file: %v", err)
|
||||||
cleanUp = true
|
|
||||||
return echo.NewHTTPError(http.StatusInternalServerError,
|
return echo.NewHTTPError(http.StatusInternalServerError,
|
||||||
app.i18n.Ts("media.errorUploading", "error", err.Error()))
|
app.i18n.Ts("media.errorUploading", "error", err.Error()))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue