diff --git a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js index 73af668ac..aa378c2fe 100644 --- a/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js +++ b/packages/node_modules/@node-red/nodes/core/network/10-mqtt.js @@ -459,7 +459,6 @@ module.exports = function(RED) { if(!opts || typeof opts !== "object") { return; //nothing to change, simply return } - // const originalBrokerURL = node.brokerurl; //apply property changes (only if the property exists in the opts object) setIfHasProperty(opts, node, "url", init); @@ -468,7 +467,6 @@ module.exports = function(RED) { setIfHasProperty(opts, node, "clientid", init); setIfHasProperty(opts, node, "autoConnect", init); setIfHasProperty(opts, node, "usetls", init); - // setIfHasProperty(opts, node, "usews", init); setIfHasProperty(opts, node, "verifyservercert", init); setIfHasProperty(opts, node, "compatmode", init); setIfHasProperty(opts, node, "protocolVersion", init); @@ -567,9 +565,6 @@ module.exports = function(RED) { if (typeof node.usetls === 'undefined') { node.usetls = false; } - // if (typeof node.usews === 'undefined') { - // node.usews = false; - // } if (typeof node.verifyservercert === 'undefined') { node.verifyservercert = false; }