🔥 Remove legacy database fixing code
This commit is contained in:
parent
7d0b31a5a1
commit
4451b0820d
1 changed files with 0 additions and 9 deletions
|
@ -195,15 +195,6 @@ func fixLegacyData(tip, node *ast.Node, idMap *map[string]bool, needFix, needMig
|
|||
node.Children = node.Children[:len(node.Children)-1]
|
||||
*needFix = true
|
||||
}
|
||||
|
||||
for _, kv := range node.KramdownIAL {
|
||||
if strings.Contains(kv[0], "custom-av-key-") {
|
||||
// TODO: 数据库正式上线以后移除这里的修复
|
||||
// 删除数据库属性键值对 https://github.com/siyuan-note/siyuan/issues/9293
|
||||
node.RemoveIALAttr(kv[0])
|
||||
*needFix = true
|
||||
}
|
||||
}
|
||||
}
|
||||
if "" != node.ID {
|
||||
if _, ok := (*idMap)[node.ID]; ok {
|
||||
|
|
Loading…
Add table
Reference in a new issue