mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-02-17 19:58:46 -06:00
cleanup obsolete image code
This commit is contained in:
@@ -32,14 +32,6 @@ async function addLinkSync(linkId, sourceId) {
|
||||
await addEntitySync("links", linkId, sourceId);
|
||||
}
|
||||
|
||||
async function addImageSync(imageId, sourceId) {
|
||||
await addEntitySync("images", imageId, sourceId);
|
||||
}
|
||||
|
||||
async function addNoteImageSync(noteImageId, sourceId) {
|
||||
await addEntitySync("note_images", noteImageId, sourceId);
|
||||
}
|
||||
|
||||
async function addAttributeSync(attributeId, sourceId) {
|
||||
await addEntitySync("attributes", attributeId, sourceId);
|
||||
}
|
||||
@@ -108,10 +100,9 @@ module.exports = {
|
||||
addNoteRevisionSync,
|
||||
addOptionsSync,
|
||||
addRecentNoteSync,
|
||||
addImageSync,
|
||||
addNoteImageSync,
|
||||
addAttributeSync,
|
||||
addApiTokenSync,
|
||||
addLinkSync,
|
||||
addEntitySync,
|
||||
fillAllSyncRows
|
||||
};
|
||||
Reference in New Issue
Block a user