From 79598c32d3015bedc2d99d81ff6591ed01dcd8c5 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Thu, 19 Oct 2017 12:56:51 -0400 Subject: [PATCH] remove unused function --- src/languages.js | 4 ---- src/webserver.js | 1 - 2 files changed, 5 deletions(-) diff --git a/src/languages.js b/src/languages.js index 5d49e60f53..77945bacc6 100644 --- a/src/languages.js +++ b/src/languages.js @@ -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) { diff --git a/src/webserver.js b/src/webserver.js index 6f89ea8570..2564642ade 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -105,7 +105,6 @@ function initializeNodeBB(callback) { function (next) { async.series([ meta.sounds.addUploads, - languages.init, meta.blacklist.load, flags.init, ], next);