🔥 移除旧版云端同步和备份功能入口 https://github.com/siyuan-note/siyuan/issues/5405

This commit is contained in:
Liang Ding 2022-07-14 21:50:46 +08:00
parent 8e7fafbdfe
commit 51230a99c3
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
22 changed files with 63 additions and 177 deletions

View file

@ -87,7 +87,7 @@ func SetBlockReminder(id string, timed string) (err error) {
if err = indexWriteJSONQueue(tree); nil != err {
return
}
IncWorkspaceDataVer()
IncSync()
cache.PutBlockIAL(id, attrs)
return
}
@ -124,7 +124,7 @@ func SetBlockAttrs(id string, nameValues map[string]string) (err error) {
if err = indexWriteJSONQueue(tree); nil != err {
return
}
IncWorkspaceDataVer()
IncSync()
cache.PutBlockIAL(id, parse.IAL2Map(node.KramdownIAL))
return
}
@ -158,7 +158,7 @@ func ResetBlockAttrs(id string, nameValues map[string]string) (err error) {
if err = indexWriteJSONQueue(tree); nil != err {
return
}
IncWorkspaceDataVer()
IncSync()
cache.RemoveBlockIAL(id)
return
}