mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +01:00
LSldapObject :: _updateData(): make method protected instead of private
This change allow this method usage from children classes to allow custom relation implementations.
This commit is contained in:
parent
b4a5824ee8
commit
0addf22c2e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue