mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 19:54:46 +01:00
LSldapObject/LSrelation : modified LSrelation update methods to use _updateData() method instead of directly LSldap methods
This commit is contained in:
parent
7e5f44c5e4
commit
5e86c8d786
1 changed files with 3 additions and 3 deletions
|
@ -1545,7 +1545,7 @@ class LSldapObject {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isset($updateData)) {
|
if (isset($updateData)) {
|
||||||
return LSldap :: update($this -> getType(),$this -> getDn(), array($attr => $updateData));
|
return $this -> _updateData(array($attr => $updateData));
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1598,7 +1598,7 @@ class LSldapObject {
|
||||||
$updateData[]=$value;
|
$updateData[]=$value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return LSldap :: update($this -> getType(),$this -> getDn(), array($attr => $updateData));
|
return $this -> _updateData(array($attr => $updateData));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1646,7 +1646,7 @@ class LSldapObject {
|
||||||
$updateData[] = $val;
|
$updateData[] = $val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return LSldap :: update($this -> getType(),$this -> getDn(), array($attr => $updateData));
|
return $this -> _updateData(array($attr => $updateData));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue