Removed unnecessary variable in health check
This commit is contained in:
parent
897df7634b
commit
8b7dc6f058
@ -19,8 +19,7 @@ HealthCheck.prototype.check = function(username, query, callback) {
|
|||||||
|
|
||||||
Step(
|
Step(
|
||||||
function getManualDisable() {
|
function getManualDisable() {
|
||||||
disabled_file = global.settings.disabled_file;
|
fs.readFile(global.settings.disabled_file, this);
|
||||||
fs.readFile(disabled_file, this);
|
|
||||||
},
|
},
|
||||||
function handleDisabledFile(err, data) {
|
function handleDisabledFile(err, data) {
|
||||||
var next = this;
|
var next = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user