mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +01:00
LSldapObject : Removed unused paramater in method getObjectKeyValueInRelation()
This commit is contained in:
parent
71c885aad0
commit
418d7f899e
2 changed files with 3 additions and 4 deletions
|
@ -1440,7 +1440,6 @@ class LSldapObject {
|
|||
* Retourne la valeur clef d'un objet en relation
|
||||
*
|
||||
* @param[in] $object Un object de type $objectType
|
||||
* @param[in] $attr L'attribut dans lequel l'objet doit apparaitre
|
||||
* @param[in] $objectType Le type d'objet en relation
|
||||
* @param[in] $value La valeur que doit avoir l'attribut :
|
||||
* - soit le dn (par defaut)
|
||||
|
@ -1448,8 +1447,8 @@ class LSldapObject {
|
|||
*
|
||||
* @retval Mixed La valeur clef d'un objet en relation
|
||||
**/
|
||||
function getObjectKeyValueInRelation($object,$attr,$objectType,$attrValue='dn') {
|
||||
if ((!$attr)||(!$objectType)) {
|
||||
function getObjectKeyValueInRelation($object,$objectType,$attrValue='dn') {
|
||||
if (!$objectType) {
|
||||
LSerror :: addErrorCode('LSrelations_05','getObjectKeyValueInRelation');
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ class LSgroup extends LSldapObject {
|
|||
* @retval Mixed La valeur clef d'un membre
|
||||
**/
|
||||
function getMemberKeyValue($object) {
|
||||
return $this -> getObjectKeyValueInRelation($object,$this -> memberAttr,$this -> userObjectType);
|
||||
return $this -> getObjectKeyValueInRelation($object,$this -> userObjectType);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue