diff --git a/packages/node_modules/@node-red/runtime/lib/flows/index.js b/packages/node_modules/@node-red/runtime/lib/flows/index.js index fa6649263..7ee79d337 100644 --- a/packages/node_modules/@node-red/runtime/lib/flows/index.js +++ b/packages/node_modules/@node-red/runtime/lib/flows/index.js @@ -535,25 +535,6 @@ function checkTypeInUse(id) { } } -function updateMissingTypes() { - var subflowInstanceRE = /^subflow:(.+)$/; - activeFlowConfig.missingTypes = []; - - for (var id in activeFlowConfig.allNodes) { - if (activeFlowConfig.allNodes.hasOwnProperty(id)) { - var node = activeFlowConfig.allNodes[id]; - if (node.type !== 'tab' && node.type !== 'subflow') { - var subflowDetails = subflowInstanceRE.exec(node.type); - if ( (subflowDetails && !activeFlowConfig.subflows[subflowDetails[1]]) || (!subflowDetails && !typeRegistry.get(node.type)) ) { - if (activeFlowConfig.missingTypes.indexOf(node.type) === -1) { - activeFlowConfig.missingTypes.push(node.type); - } - } - } - } - } -} - async function addFlow(flow, user) { var i,node; if (!flow.hasOwnProperty('nodes')) {