Removed unnecessary variable in health check

This commit is contained in:
Luis Bosque 2015-03-25 18:22:13 +01:00
parent 897df7634b
commit 8b7dc6f058

View File

@ -19,8 +19,7 @@ HealthCheck.prototype.check = function(username, query, callback) {
Step(
function getManualDisable() {
disabled_file = global.settings.disabled_file;
fs.readFile(disabled_file, this);
fs.readFile(global.settings.disabled_file, this);
},
function handleDisabledFile(err, data) {
var next = this;