diff --git a/core/server/index.js b/core/server/index.js index eaa03cac30a..fe456bc1331 100644 --- a/core/server/index.js +++ b/core/server/index.js @@ -5,7 +5,6 @@ var crypto = require('crypto'), compress = require('compression'), fs = require('fs'), uuid = require('node-uuid'), - Polyglot = require('node-polyglot'), semver = require('semver'), _ = require('lodash'), when = require('when'), @@ -204,9 +203,6 @@ function init(server) { server = express(); } - // Set up Polygot instance on the require module - Polyglot.instance = new Polyglot(); - // ### Initialisation // The server and its dependencies require a populated config // It returns a promise that is resolved when the application diff --git a/core/test/unit/server_helpers_index_spec.js b/core/test/unit/server_helpers_index_spec.js index 30e8db23f43..85352eb9125 100644 --- a/core/test/unit/server_helpers_index_spec.js +++ b/core/test/unit/server_helpers_index_spec.js @@ -6,7 +6,6 @@ var should = require('should'), _ = require('lodash'), rewire = require('rewire'), moment = require('moment'), - Polyglot = require('node-polyglot'), api = require('../../server/api'), hbs = require('express-hbs'),