Browse Source

:art: Clean code

Daniel 2 years ago
parent
commit
8445fa73f2
1 changed files with 0 additions and 5 deletions
  1. 0 5
      kernel/model/blockinfo.go

+ 0 - 5
kernel/model/blockinfo.go

@@ -124,11 +124,6 @@ func getBlockRefText(id string, tree *parse.Tree) (ret string) {
 		return
 	}
 
-	sqlBlock := sql.BuildBlockFromNode(node, tree)
-	if nil == sqlBlock {
-		return
-	}
-
 	ret = getNodeRefText(node)
 	ret = maxContent(ret, Conf.Editor.BlockRefDynamicAnchorTextMaxLen)
 	return