From 8b7dc6f05883d00bfe8c882e1c399cd54d887d84 Mon Sep 17 00:00:00 2001 From: Luis Bosque Date: Wed, 25 Mar 2015 18:22:13 +0100 Subject: [PATCH] Removed unnecessary variable in health check --- app/monitoring/health_check.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/monitoring/health_check.js b/app/monitoring/health_check.js index 26168e02..09ec15ee 100644 --- a/app/monitoring/health_check.js +++ b/app/monitoring/health_check.js @@ -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;