API: Remove unnecessary log message from batch delete handler #272

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2023-07-23 18:32:02 +02:00
parent 6b9aeda48f
commit 2a002eca78

View file

@ -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)