mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
closes #4982
This commit is contained in:
@@ -253,7 +253,6 @@ module.exports = function(Plugins) {
|
||||
}).filter(Boolean).forEach(function(key) {
|
||||
Plugins.customLanguages[key] = _.defaults(Plugins.customLanguages[key] || {}, data);
|
||||
});
|
||||
fallbackMap[path.basename(pathToLang, '.json')] = path.join(pathToFolder, pluginData.defaultLang, path.basename(pathToLang));
|
||||
}
|
||||
|
||||
next();
|
||||
@@ -263,9 +262,6 @@ module.exports = function(Plugins) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
// do I need this either?
|
||||
_.extendOwn(Plugins.customLanguageFallbacks, fallbackMap);
|
||||
|
||||
callback();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user