From 5e86c8d7860e60c9149d910d7fb7989e232bc9e4 Mon Sep 17 00:00:00 2001 From: bn8 Date: Mon, 15 Mar 2010 17:31:05 +0100 Subject: [PATCH] LSldapObject/LSrelation : modified LSrelation update methods to use _updateData() method instead of directly LSldap methods --- public_html/includes/class/class.LSldapObject.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public_html/includes/class/class.LSldapObject.php b/public_html/includes/class/class.LSldapObject.php index 63860622..cf9b22a7 100644 --- a/public_html/includes/class/class.LSldapObject.php +++ b/public_html/includes/class/class.LSldapObject.php @@ -1545,7 +1545,7 @@ class LSldapObject { } } if (isset($updateData)) { - return LSldap :: update($this -> getType(),$this -> getDn(), array($attr => $updateData)); + return $this -> _updateData(array($attr => $updateData)); } return true; } @@ -1598,7 +1598,7 @@ class LSldapObject { $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; } } - return LSldap :: update($this -> getType(),$this -> getDn(), array($attr => $updateData)); + return $this -> _updateData(array($attr => $updateData)); } } }