enable pre/postActions in self service
This commit is contained in:
parent
2a6feae9d5
commit
def0470d74
|
@ -1266,6 +1266,28 @@ abstract class baseModule {
|
|||
return array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows the module to run commands before the LDAP entry is changed or created.
|
||||
*
|
||||
* An error message should be printed if the function returns false.
|
||||
*
|
||||
* @param array $attributes LDAP attributes of this entry
|
||||
* @return boolean true, if no problems occured
|
||||
*/
|
||||
public function preModifySelfService($attributes) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Allows the module to run commands after the LDAP entry is changed or created.
|
||||
*
|
||||
* @param array $attributes LDAP attributes of this entry
|
||||
* @return boolean true, if no problems occured
|
||||
*/
|
||||
public function postModifySelfService($attributes) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the {@link accountContainer} object.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue