From 0addf22c2e9872ee1c6acc19eaa667b2f5f462a5 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 1 Dec 2020 15:04:20 +0100 Subject: [PATCH] LSldapObject :: _updateData(): make method protected instead of private This change allow this method usage from children classes to allow custom relation implementations. --- src/includes/class/class.LSldapObject.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/includes/class/class.LSldapObject.php b/src/includes/class/class.LSldapObject.php index ddbb3ec6..22be81f2 100644 --- a/src/includes/class/class.LSldapObject.php +++ b/src/includes/class/class.LSldapObject.php @@ -289,7 +289,7 @@ class LSldapObject extends LSlog_staticLoggerClass { * Update LDAP object data from one form specify by it's ID. * * This method just valid form ID, extract form data and call - * _updateData() private method. + * _updateData() protected method. * * @param[in] $idForm Form ID * @param[in] $justValidate Boolean to enable just validation mode @@ -344,7 +344,7 @@ class LSldapObject extends LSlog_staticLoggerClass { * @see validateAttrsData() * @see submitChange() */ - private function _updateData($new_data,$idForm=null,$justValidate=False) { + protected function _updateData($new_data,$idForm=null,$justValidate=False) { if(!is_array($new_data)) { return; }