LSldapObject/LSrelation : modified LSrelation update methods to use _updateData() method instead of directly LSldap methods

This commit is contained in:
Benjamin Renard 2010-03-15 17:31:05 +01:00
parent 7e5f44c5e4
commit 5e86c8d786

View file

@ -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));
} }
} }
} }