split out dateUtils on the backend

This commit is contained in:
azivner
2018-04-02 20:46:46 -04:00
parent 277368ab43
commit 6ab0cea4e3
24 changed files with 90 additions and 111 deletions

View File

@@ -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}`);