small fixes

This commit is contained in:
zadam
2020-02-17 22:38:46 +01:00
parent e7af24c139
commit f2cf361acf
7 changed files with 32 additions and 32 deletions

View File

@@ -99,10 +99,6 @@ async function checkTreeCycle(parentNoteId, childNoteId) {
return await checkTreeCycleInner(parentNoteId);
}
async function getBranch(branchId) {
return sql.getRow("SELECT * FROM branches WHERE branchId = ?", [branchId]);
}
async function loadSubtreeNoteIds(parentNoteId, subtreeNoteIds) {
subtreeNoteIds.push(parentNoteId);
@@ -199,7 +195,6 @@ async function setNoteToParent(noteId, prefix, parentNoteId) {
module.exports = {
getNotes,
validateParentChild,
getBranch,
sortNotesAlphabetically,
setNoteToParent
};