Skip to content
Snippets Groups Projects
Commit 69fafaae authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[enh] #739 Clean old wizard features that are now present in BMA module

parent 8840d45c
No related branches found
No related tags found
No related merge requests found
......@@ -20,14 +20,6 @@ function Wizard () {
doTasks(['currency'], conf, done);
};
this.configNetwork = function (conf, program, done) {
doTasks(['network'], conf, done);
};
this.configNetworkReconfigure = function (conf, program, done) {
doTasks(['networkReconfigure'], conf, done);
};
this.configUCP = function (conf, program, done) {
doTasks(['ucp'], conf, done);
};
......@@ -35,9 +27,6 @@ function Wizard () {
function doTasks (todos, conf, done) {
async.forEachSeries(todos, function(task, callback){
if (task == 'networkReconfigure') {
return tasks[task] && tasks[task](conf, false, false, callback);
}
tasks[task] && tasks[task](conf, callback);
}, done);
}
......
......@@ -12,8 +12,6 @@ module.exports = {
// The wizard itself also defines its personal tasks
'currency': Q.nbind(wizard().configCurrency, null),
'pow': Q.nbind(wizard().configPoW, null),
'network': Q.nbind(wizard().configNetwork, null),
'network-reconfigure': Q.nbind(wizard().configNetworkReconfigure, null),
'ucp': Q.nbind(wizard().configUCP, null)
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment