mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-26 01:09:56 +01:00
remove unused function
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user