X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debugger%2Faction.php;h=081340b11555427354f40c361de6aa88e0256435;hb=fce41d1c5ca142dccfe3a9b51edcc13acdc4a7ba;hp=f1df960c0c410379ae0b0ddbaa0da10a41cc235b;hpb=30ebc9ef1db1258d73352b56b649c0ae05f7e6df;p=plcapi.git diff --git a/debugger/action.php b/debugger/action.php index f1df960..081340b 100644 --- a/debugger/action.php +++ b/debugger/action.php @@ -66,10 +66,10 @@ td form {margin: 0;} if ($port != "") { - $client =& new $clientclass($path, $host, $port); + $client = new $clientclass($path, $host, $port); $server = "$host:$port$path"; } else { - $client =& new $clientclass($path, $host); + $client = new $clientclass($path, $host); $server = "$host$path"; } if ($protocol == 2) @@ -158,20 +158,20 @@ td form {margin: 0;} // fall thru intentionally case 'describe': case 'wrap': - $msg[0] =& new $msgclass('system.methodHelp', null, $id); + $msg[0] = new $msgclass('system.methodHelp', null, $id); $msg[0]->addparam(new xmlrpcval($method)); - $msg[1] =& new $msgclass('system.methodSignature', null, $id+1); + $msg[1] = new $msgclass('system.methodSignature', null, $id+1); $msg[1]->addparam(new xmlrpcval($method)); $actionname = 'Description of method "'.$method.'"'; break; case 'list': - $msg[0] =& new $msgclass('system.listMethods', null, $id); + $msg[0] = new $msgclass('system.listMethods', null, $id); $actionname = 'List of available methods'; break; case 'execute': if (!payload_is_safe($payload)) die("Tsk tsk tsk, please stop it or I will have to call in the cops!"); - $msg[0] =& new $msgclass($method, null, $id); + $msg[0] = new $msgclass($method, null, $id); // hack! build xml payload by hand if ($wstype == 1) {