community hub MDL-22976 make community hub ws call compatible to a futur protocol change

This commit is contained in:
jerome mouneyrac
2010-09-09 02:55:11 +00:00
parent 29750492a2
commit 2a4eec826a
6 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ class registration_manager {
foreach ($hubs as $hub) {
//update the registration
$siteinfo = $this->get_site_info($hub->huburl);
$params = array($siteinfo);
$params = array('siteinfo' => $siteinfo);
$serverurl = $hub->huburl . "/local/hub/webservice/webservices.php";
$xmlrpcclient = new webservice_xmlrpc_client($serverurl, $hub->token);
try {