mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-06 21:00:16 +01:00
Remove RemoveRecentDoc function and its calls from multiple files to streamline document handling
This commit is contained in:
parent
ddbcacfe81
commit
f6217c0b50
4 changed files with 1 additions and 27 deletions
|
|
@ -1596,7 +1596,6 @@ func removeDoc(box *Box, p string, luteEngine *lute.Lute) {
|
|||
logging.LogInfof("removed doc [%s%s]", box.ID, p)
|
||||
|
||||
box.removeSort(removeIDs)
|
||||
RemoveRecentDoc(removeIDs)
|
||||
if "/" != dir {
|
||||
others, err := os.ReadDir(filepath.Join(util.DataDir, box.ID, dir))
|
||||
if err == nil && 1 > len(others) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue