From d4b574878846525e429ec414fb0f7fc43d000675 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 22 Feb 2007 18:25:24 +0000 Subject: [PATCH] added postModifyActions() and postDeleteActions() --- lam/lib/baseModule.inc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lam/lib/baseModule.inc b/lam/lib/baseModule.inc index 29e1107f..e5ce9cd5 100644 --- a/lam/lib/baseModule.inc +++ b/lam/lib/baseModule.inc @@ -583,6 +583,22 @@ class baseModule { return $_SESSION[$this->base]->save_module_attributes($this->attributes, $this->orig); } + /** + * Allows the module to run commands after the LDAP entry was changed or created. + * + * @param boolean $newAccount new account + */ + function postModifyActions($newAccount) { + return; + } + + /** + * Allows the module to run commands after the LDAP entry was deleted. + */ + function postDeleteActions() { + return; + } + /** * Dummy function for modules which use no special options on account deletion. *