mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
split out dateUtils on the backend
This commit is contained in:
@@ -50,8 +50,6 @@ async function cleanupUnusedImages() {
|
||||
images.isDeleted = 0
|
||||
AND note_images.noteImageId IS NULL`);
|
||||
|
||||
const now = utils.nowDate();
|
||||
|
||||
for (const imageId of unusedImageIds) {
|
||||
log.info(`Deleting unused image: ${imageId}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user