cvs: pear(NET_LDAP_0_6) /Net_LDAP LDAP.php

From: Date: Tue, 01 Mar 2005 12:27:36 +0000
Subject: cvs: pear(NET_LDAP_0_6) /Net_LDAP LDAP.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-29945@lists.php.net to get a copy of this message
jw Tue Mar 1 07:27:36 2005 EDT Modified files: (Branch: NET_LDAP_0_6) /pear/Net_LDAP LDAP.php Log: fix bug#2860 (call-time pass-by-reference) http://cvs.php.net/diff.php/pear/Net_LDAP/LDAP.php?r1=1.19.2.9&r2=1.19.2.10&ty=u Index: pear/Net_LDAP/LDAP.php diff -u pear/Net_LDAP/LDAP.php:1.19.2.9 pear/Net_LDAP/LDAP.php:1.19.2.10 --- pear/Net_LDAP/LDAP.php:1.19.2.9 Mon Dec 20 04:15:06 2004 +++ pear/Net_LDAP/LDAP.php Tue Mar 1 07:27:36 2005 @@ -23,7 +23,7 @@ // | Jan Wagner | // +--------------------------------------------------------------------------+ // -// $Id: LDAP.php,v 1.19.2.9 2004/12/20 09:15:06 jw Exp $ +// $Id: LDAP.php,v 1.19.2.10 2005/03/01 12:27:36 jw Exp $ require_once('PEAR.php'); require_once('LDAP/Entry.php'); @@ -42,7 +42,7 @@ * * @author Tarjei Huse * @author Jan Wagner - * @version $Revision: 1.19.2.9 $ + * @version $Revision: 1.19.2.10 $ * @package Net_LDAP */ class Net_LDAP extends PEAR @@ -142,7 +142,7 @@ if (!function_exists('ldap_connect')){ return $this->raiseError("It seems that you do not have the ldap-extension installed. Please install it before using this package."); } - @$obj = & new Net_LDAP($config); + @$obj =& new Net_LDAP($config); $err = $obj->bind(); if (Net_LDAP::isError($err)) { @@ -261,7 +261,7 @@ function start_tls() { $args = func_get_args(); - return call_user_func_array(array( &$this, 'startTLS' ), $args); + return call_user_func_array(array($this, 'startTLS' ), $args); } /** @@ -593,7 +593,7 @@ if ($err == 32) { // Errorcode 32 = no such object, i.e. a nullresult. - return $obj = & new Net_LDAP_Search (& $search, $this->_link); + return $obj =& new Net_LDAP_Search ($search, $this->_link); // Errorcode 4 = sizelimit exeeded. this will be handled better in time... //} elseif ($err == 4) { @@ -607,7 +607,7 @@ return $this->raiseError($this->errorMessage($err) . $msg, $err); } } else { - @$obj = & new Net_LDAP_Search($search, $this->_link); + @$obj =& new Net_LDAP_Search($search, $this->_link); return $obj; } @@ -902,7 +902,7 @@ function &root_dse() { $args = func_get_args(); - return call_user_func_array(array(&$this, 'rootDse'), $args); + return call_user_func_array(array($this, 'rootDse'), $args); } /** @@ -917,7 +917,7 @@ { require_once('Net/LDAP/Schema.php'); - $schema = & new Net_LDAP_Schema(); + $schema =& new Net_LDAP_Schema(); if (is_null($dn)) { // get the subschema entry via root dse

« previous php.pear.cvs (#29945) next »