mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
fixed allQuestions property
This commit is contained in:
@@ -172,7 +172,7 @@ var async = require('async'),
|
|||||||
return next(new Error('unknown database : ' + config.database));
|
return next(new Error('unknown database : ' + config.database));
|
||||||
}
|
}
|
||||||
|
|
||||||
var allQuestions = install.redisQuestions.concat(install.mongoQuestions);
|
var allQuestions = install.redisQuestions.concat(install.mongoQuestions.concat(install.levelQuestions));
|
||||||
for(var x=0;x<allQuestions.length;x++) {
|
for(var x=0;x<allQuestions.length;x++) {
|
||||||
delete config[allQuestions[x].name];
|
delete config[allQuestions[x].name];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user