removed unused var added error log

v1.18.x
Baris Soner Usakli 11 years ago
parent 194c404857
commit 253c19abeb

@ -204,7 +204,10 @@
winston = require('winston');
utils.walk(path.join(__dirname, '../language', (Meta.config.defaultLang || 'en_GB')), function (err, data) {
var loaded = data.length;
if(err) {
console.log(err.message);
return;
}
for (var d in data) {
if (data.hasOwnProperty(d)) {

Loading…
Cancel
Save