[geeklog-cvs] Auth_Enterprise/Server/XMLRPC/commands authenticate.class.php,1.2,1.3

tony at geeklog.net tony at geeklog.net
Tue Oct 28 23:16:56 EST 2003


Update of /usr/cvs/geeklog/Auth_Enterprise/Server/XMLRPC/commands
In directory geeklog_prod:/tmp/cvs-serv9313

Modified Files:
	authenticate.class.php 
Log Message:
Now uses XML_RPC_encode to send the user object back to the calling application.

Index: authenticate.class.php
===================================================================
RCS file: /usr/cvs/geeklog/Auth_Enterprise/Server/XMLRPC/commands/authenticate.class.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** authenticate.class.php	29 Oct 2003 00:52:40 -0000	1.2
--- authenticate.class.php	29 Oct 2003 04:16:54 -0000	1.3
***************
*** 73,81 ****
              $response = new XML_RPC_Response('',$this->_user->getCode(),$this->_user->getMessage());
          } else {
!             $response = new XML_RPC_Response(new XML_RPC_Value(array(new XML_RPC_Value($this->_user->getUserId(),'int'),
!                                                                      new XML_RPC_Value($this->_user->getUserName(),'string'),
!                                                                      new XML_RPC_Value($this->_user->getAppId(),'string'),
!                                                                      new XML_RPC_Value($this->_user->getAccountLocked(),'boolean'),
!                                                                      new XML_RPC_Value($this->_user->getFailedAttempts(),'int')),'array'));
          }
          return $response;
--- 73,77 ----
              $response = new XML_RPC_Response('',$this->_user->getCode(),$this->_user->getMessage());
          } else {
!             $response = new XML_RPC_Response(XML_RPC_encode($this->_user));
          }
          return $response;





More information about the geeklog-cvs mailing list