Clean dead code
This commit is contained in:
parent
ac95302fa7
commit
8dc6241aee
@ -183,7 +183,7 @@ class InterfaceLdapsynchro extends DolibarrTriggers
|
|||||||
$this->error = "ErrorLDAP ".$ldap->error;
|
$this->error = "ErrorLDAP ".$ldap->error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elseif ($action == 'USER_SETINGROUP') {
|
/*} elseif ($action == 'USER_SETINGROUP') {
|
||||||
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
||||||
if (!empty($conf->global->LDAP_SYNCHRO_ACTIVE) && $conf->global->LDAP_SYNCHRO_ACTIVE === 'dolibarr2ldap') {
|
if (!empty($conf->global->LDAP_SYNCHRO_ACTIVE) && $conf->global->LDAP_SYNCHRO_ACTIVE === 'dolibarr2ldap') {
|
||||||
$ldap = new Ldap();
|
$ldap = new Ldap();
|
||||||
@ -250,7 +250,7 @@ class InterfaceLdapsynchro extends DolibarrTriggers
|
|||||||
if ($result < 0) {
|
if ($result < 0) {
|
||||||
$this->error = "ErrorLDAP ".$ldap->error;
|
$this->error = "ErrorLDAP ".$ldap->error;
|
||||||
}
|
}
|
||||||
}
|
} */
|
||||||
} elseif ($action == 'USERGROUP_CREATE') {
|
} elseif ($action == 'USERGROUP_CREATE') {
|
||||||
// Groupes
|
// Groupes
|
||||||
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
dol_syslog("Trigger '".$this->name."' for action '$action' launched by ".__FILE__.". id=".$object->id);
|
||||||
|
|||||||
@ -119,8 +119,6 @@ class InterfaceMyModuleTriggers extends DolibarrTriggers
|
|||||||
//case 'USER_NEW_PASSWORD':
|
//case 'USER_NEW_PASSWORD':
|
||||||
//case 'USER_ENABLEDISABLE':
|
//case 'USER_ENABLEDISABLE':
|
||||||
//case 'USER_DELETE':
|
//case 'USER_DELETE':
|
||||||
//case 'USER_SETINGROUP':
|
|
||||||
//case 'USER_REMOVEFROMGROUP':
|
|
||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
//case 'ACTION_MODIFY':
|
//case 'ACTION_MODIFY':
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user