cvs: pear /Auth_SAP SAP.php
| From: | Hartmut Holzgraefe | Date: | Mon, 10 Feb 2003 12:36:07 +0000 |
| Subject: | cvs: pear /Auth_SAP SAP.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8797@lists.php.net to get a copy of this message | ||
hholzgra Mon Feb 10 07:36:07 2003 EDT
Modified files:
/pear/Auth_SAP SAP.php
Log:
stupid copy/paste bug on the ABAP RFC function names ...
Index: pear/Auth_SAP/SAP.php
diff -u pear/Auth_SAP/SAP.php:1.1 pear/Auth_SAP/SAP.php:1.2
--- pear/Auth_SAP/SAP.php:1.1 Sun Feb 9 19:53:28 2003
+++ pear/Auth_SAP/SAP.php Mon Feb 10 07:36:07 2003
@@ -16,7 +16,7 @@
// | Authors: Hartmut Holzgraefe <hholzgra@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: SAP.php,v 1.1 2003/02/10 00:53:28 hholzgra Exp $
+// $Id: SAP.php,v 1.2 2003/02/10 12:36:07 hholzgra Exp $
//
require_once "Auth/Container.php";
@@ -28,7 +28,7 @@
*
* @author Hartmut Holzgraefe <hholzgra@php.net>
* @package Auth
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
class Auth_Container_SAP extends Auth_Container
{
@@ -124,7 +124,7 @@
*/
function fetchData($username, $password)
{
- $fce = saprfc_function_discover($this->conn_id, "BAPI_USER_GET_DETAIL");
+ $fce = saprfc_function_discover($this->conn_id, "SUSR_LOGIN_CHECK_RFC");
if(!$fce) {
return PEAR::raiseError("Auth_Container_PHP: Could not get function info from SAP server:
".saprfc_error(), 41, PEAR_ERROR_DIE);
}
@@ -151,7 +151,7 @@
{
$users = array();
- $fce = saprfc_function_discover($rfc, "BAPI_USER_GET_DETAIL");
+ $fce = saprfc_function_discover($rfc, "SO_USER_LIST_READ");
if(!$fce) {
return PEAR::raiseError("Auth_Container_PHP: Could not get function info from SAP server:
".saprfc_error(), 41, PEAR_ERROR_DIE);
}