mirror of
https://github.com/justinccdev/opensimulator-tools.git
synced 2026-08-14 01:07:50 +00:00
Make connectors return response data where they weren't doing this.
This commit is contained in:
@@ -20,7 +20,7 @@ function CreateAssetXml($data, $id, $name, $description, $type)
|
||||
|
||||
function AddAsset($serviceUri, $assetXml, $debug = FALSE)
|
||||
{
|
||||
PostToService($serviceUri, $assetXml, $debug);
|
||||
return PostToService($serviceUri, $assetXml, $debug);
|
||||
}
|
||||
|
||||
function GetAsset($serviceUri, $assetId, $debug = FALSE)
|
||||
|
||||
@@ -11,7 +11,7 @@ function FindGroups($serviceUri, $query, $debug = FALSE)
|
||||
'Query' => $query,
|
||||
'METHOD' => 'FINDGROUPS');
|
||||
|
||||
$responseXml = PostToService($serviceUri, http_build_query($params), $debug);
|
||||
return PostToService($serviceUri, http_build_query($params), $debug);
|
||||
}
|
||||
|
||||
function GetGroup($serviceUri, $groupUuid = NULL, $groupName = NULL, $debug = FALSE)
|
||||
@@ -31,7 +31,7 @@ function GetGroup($serviceUri, $groupUuid = NULL, $groupName = NULL, $debug = FA
|
||||
else
|
||||
$params['Name'] = $groupName;
|
||||
|
||||
$responseXml = PostToService($serviceUri, http_build_query($params), $debug);
|
||||
return PostToService($serviceUri, http_build_query($params), $debug);
|
||||
}
|
||||
|
||||
function GetGroupMembers($serviceUri, $groupUuid, $debug = FALSE)
|
||||
@@ -42,7 +42,7 @@ function GetGroupMembers($serviceUri, $groupUuid, $debug = FALSE)
|
||||
'GroupID' => $groupUuid,
|
||||
'METHOD' => 'GETGROUPMEMBERS');
|
||||
|
||||
$responseXml = PostToService($serviceUri, http_build_query($params), $debug);
|
||||
return PostToService($serviceUri, http_build_query($params), $debug);
|
||||
}
|
||||
|
||||
function GetUserMemberships($serviceUri, $userUuid, $groupUuid, $debug = FALSE)
|
||||
@@ -60,7 +60,7 @@ function GetUserMemberships($serviceUri, $userUuid, $groupUuid, $debug = FALSE)
|
||||
else
|
||||
$params['GroupID'] = $groupUuid;
|
||||
|
||||
$responseXml = PostToService($serviceUri, http_build_query($params), $debug);
|
||||
return PostToService($serviceUri, http_build_query($params), $debug);
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user