Skip to content

Commit

Permalink
Remove unnecessary commented code.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricioschneider committed Oct 21, 2015
1 parent 7a41545 commit a6e494d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion lib/agent/index.js
Expand Up @@ -107,7 +107,7 @@ var boot = function() {
logger.info('Initialized.');
// We initialize the triggers after all the plugins have been enabled,
// so the plugins that subscribed to events triggered by the watchers
// work as intended: ie. control-panel's interval.
// work as intended: ie. control-panel's long-polling.
triggers.watch(watch_list);
});
};
Expand Down
6 changes: 0 additions & 6 deletions lib/agent/providers/network/index.js
Expand Up @@ -12,7 +12,6 @@
// use memoize on them, unlike the function from the hardware provider.

var network = require('network'),
//resolve = require('dns').resolve,
https = require('https'),
os_name = process.platform.replace('darwin', 'mac').replace('win32', 'windows'),
os_functions = require('./' + os_name),
Expand Down Expand Up @@ -132,9 +131,4 @@ exp.get_connection_status = function(cb) {
cb('connected');
}
}
//resolve('control.preyproject.com', function(err) {
// console.log(err);
// var result = err ? 'disconnected' : 'connected';
// cb(result);
//});
};

0 comments on commit a6e494d

Please sign in to comment.