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

@ -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) {