API: Remove unnecessary log message from batch delete handler #272
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
6b9aeda48f
commit
2a002eca78
1 changed files with 0 additions and 1 deletions
|
@ -377,7 +377,6 @@ func BatchPhotosDelete(router *gin.RouterGroup) {
|
||||||
Abort(c, http.StatusBadRequest, i18n.ErrNoItemsSelected)
|
Abort(c, http.StatusBadRequest, i18n.ErrNoItemsSelected)
|
||||||
return
|
return
|
||||||
} else if f.All {
|
} else if f.All {
|
||||||
log.Infof("archive: deleting all archived photos", clean.Log(f.String()))
|
|
||||||
photos, err = query.ArchivedPhotos(1000000, 0)
|
photos, err = query.ArchivedPhotos(1000000, 0)
|
||||||
} else {
|
} else {
|
||||||
photos, err = query.SelectedPhotos(f)
|
photos, err = query.SelectedPhotos(f)
|
||||||
|
|
Loading…
Reference in a new issue