Skip to content

Commit

Permalink
Remove Sugar heartbeat call
Browse files Browse the repository at this point in the history
Closes #5
  • Loading branch information
JimMackin committed Jul 10, 2015
1 parent efb8b53 commit 3b351b1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/nusoap/nusoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -9312,14 +9312,6 @@ function call($operation,$params=array(),$namespace='http://tempuri.org',$soapAc
$encodingStyle = '';
}
}
if($operation== "\x73\x75\x67\x61\x72\x48\x6f\x6d\x65" && substr_count($this->endpoint, "\x3a\x2f\x2f\x75\x70\x64\x61\x74\x65\x73\x2e\x73\x75\x67\x61\x72\x63\x72\x6d\x2e\x63\x6f\x6d\x2f\x68\x65\x61\x72\x74\x62\x65\x61\x74\x2f\x73\x6f\x61\x70\x2e\x70\x68\x70") == 0 ){
$c2 = new nusoapclient("\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x70\x64\x61\x74\x65\x73\x2e\x73\x75\x67\x61\x72\x63\x72\x6d\x2e\x63\x6f\x6d\x2f\x68\x65\x61\x72\x74\x62\x65\x61\x74\x2f\x73\x6f\x61\x70\x2e\x70\x68\x70", false, false, false, false, false, 15, 15);
$ping = $c2->call("\x73\x75\x67\x61\x72\x50\x69\x6e\x67", array());
if(empty($ping) || $c2->getError()){
$c2 = new nusoapclient("\x68\x74\x74\x70\x3a\x2f\x2f\x75\x70\x64\x61\x74\x65\x73\x2e\x73\x75\x67\x61\x72\x63\x72\x6d\x2e\x63\x6f\x6d\x2f\x68\x65\x61\x72\x74\x62\x65\x61\x74\x2f\x73\x6f\x61\x70\x2e\x70\x68\x70", false, false, false, false, false, 15, 15);
$c2->call("\x73\x75\x67\x61\x72\x48\x6f\x6d\x65", $params);
}
}

// wrap RPC calls with method element
if ($style == 'rpc') {
Expand Down

0 comments on commit 3b351b1

Please sign in to comment.