remove unused function

v1.18.x
Baris Usakli 7 years ago
parent 05c1a6cfed
commit 79598c32d3

@ -7,10 +7,6 @@ var async = require('async');
var Languages = module.exports;
var languagesPath = path.join(__dirname, '../build/public/language');
Languages.init = function (next) {
next();
};
Languages.get = function (language, namespace, callback) {
fs.readFile(path.join(languagesPath, language, namespace + '.json'), { encoding: 'utf-8' }, function (err, data) {
if (err) {

@ -105,7 +105,6 @@ function initializeNodeBB(callback) {
function (next) {
async.series([
meta.sounds.addUploads,
languages.init,
meta.blacklist.load,
flags.init,
], next);

Loading…
Cancel
Save