remove unused passed cb

This commit is contained in:
Unitech 2016-04-03 12:24:55 +02:00
parent 66a3abd4f4
commit 4bdd3180da

View File

@ -70,7 +70,7 @@ var PushInteractor = module.exports = {
* Connect to target host or reconnect if null is passed
* the host param must be formated like (http://HOST:PORT)
*/
connectRemote : function(hostname, cb) {
connectRemote : function(hostname) {
if (hostname)
hostname = Url.parse(hostname).hostname;
else if (this.socket && this.socket.host)