Field in return struct of download-close methods is gunid:string now.

This commit is contained in:
tomas 2004-12-22 02:18:46 +00:00
parent 5268a81857
commit bc954ea07b
1 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@
Author : $Author: tomas $ Author : $Author: tomas $
Version : $Revision: 1.9 $ Version : $Revision: 1.10 $
Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/xrLocStor.php,v $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/xrLocStor.php,v $
------------------------------------------------------------------------------*/ ------------------------------------------------------------------------------*/
@ -465,7 +465,7 @@ class XR_LocStor extends LocStor{
* *
* On success, returns a XML-RPC struct with single field: * On success, returns a XML-RPC struct with single field:
* <ul> * <ul>
* <li> status : boolean</li> * <li> gunid : string - global unique ID</li>
* </ul> * </ul>
* *
* On errors, returns an XML-RPC error response. * On errors, returns an XML-RPC error response.
@ -493,7 +493,7 @@ class XR_LocStor extends LocStor{
" ".$res->getUserInfo() " ".$res->getUserInfo()
); );
} }
return new XML_RPC_Response(XML_RPC_encode(array('status'=>$res))); return new XML_RPC_Response(XML_RPC_encode(array('gunid'=>$res)));
} }
/* ---------------------------------------------------- download metadata */ /* ---------------------------------------------------- download metadata */
@ -558,7 +558,7 @@ class XR_LocStor extends LocStor{
* *
* On success, returns a XML-RPC struct with single field: * On success, returns a XML-RPC struct with single field:
* <ul> * <ul>
* <li> status : boolean</li> * <li> gunid : string - global unique ID</li>
* </ul> * </ul>
* *
* On errors, returns an XML-RPC error response. * On errors, returns an XML-RPC error response.
@ -586,7 +586,7 @@ class XR_LocStor extends LocStor{
" ".$res->getUserInfo() " ".$res->getUserInfo()
); );
} }
return new XML_RPC_Response(XML_RPC_encode(array('status'=>$res))); return new XML_RPC_Response(XML_RPC_encode(array('gunid'=>$res)));
} }
/* --------------------------------------------------------------- delete */ /* --------------------------------------------------------------- delete */