removed availableTemplates assign

v1.18.x
barisusakli 10 years ago
parent b2fc4d5dc4
commit d152254bcb

@ -79,8 +79,8 @@ function getAvailableTemplates(callback) {
return el && el.replace(nconf.get('views_dir') + '/', '');
});
availableTemplatesCache = availableTemplates = availableTemplates.concat(results.extended);
callback(null, availableTemplates)
availableTemplatesCache = availableTemplates.concat(results.extended);
callback(null, availableTemplatesCache);
});
}

Loading…
Cancel
Save