Remove RemoveRecentDoc function and its calls from multiple files to streamline document handling

This commit is contained in:
Jeffrey Chen 2025-11-06 20:09:20 +08:00
parent ddbcacfe81
commit f6217c0b50
4 changed files with 1 additions and 27 deletions

View file

@ -284,7 +284,6 @@ func Doc2Heading(srcID, targetID string, after bool) (srcTreeBox, srcTreePath st
logging.LogWarnf("remove tree [%s] failed: %s", srcTree.Path, removeErr)
}
box.removeSort([]string{srcTree.ID})
RemoveRecentDoc([]string{srcTree.ID})
evt := util.NewCmdResult("removeDoc", 0, util.PushModeBroadcast)
evt.Data = map[string]interface{}{
"ids": []string{srcTree.ID},