fix: remove unused vars

closes #7383
This commit is contained in:
Blade Barringer
2016-05-20 14:26:22 -05:00
parent 18822854f7
commit f5d65a1e4d
2 changed files with 1 additions and 10 deletions
+1 -3
View File
@@ -73,7 +73,5 @@
"APP": "app-name",
"SECRET": "secret",
"ENABLED": "false"
},
"MAINTENANCE_START": "Sat May 21 2016 20:00:00 UTC",
"MAINTENANCE_END": "Sat May 22 2016 5:00:00 UTC"
}
}
-7
View File
@@ -9,10 +9,6 @@ var forceRefresh = require('./forceRefresh');
var tavernQuest = require('../models/group').tavernQuest;
var mods = require('../models/user').mods;
// TODO Remove once v3 maintenance is done
const MAINTENANCE_START = nconf.get('MAINTENANCE_START');
const MAINTENANCE_END = nconf.get('MAINTENANCE_END');
// To avoid stringifying more data then we need,
// items from `env` used on the client will have to be specified in this array
var clientVars = ['language', 'isStaticPage', 'avalaibleLanguages', 'translations',
@@ -59,9 +55,6 @@ module.exports = function(req, res, next) {
// Defined here and not outside of the middleware because tavernQuest might be an
// empty object until the query to fetch it finishes
worldDmg: (tavernQuest && tavernQuest.extra && tavernQuest.extra.worldDmg) || {},
// TODO Remove once v3 maintenance is done
maintenanceStart: MAINTENANCE_START,
maintenanceEnd: MAINTENANCE_END,
});
// Put query-string party (& guild but use partyInvite for backward compatibility)