added postModifyActions() and postDeleteActions()
This commit is contained in:
		
							parent
							
								
									26c6ea899d
								
							
						
					
					
						commit
						d4b5748788
					
				|  | @ -583,6 +583,22 @@ class baseModule { | ||||||
| 		return $_SESSION[$this->base]->save_module_attributes($this->attributes, $this->orig); | 		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. | 	* Dummy function for modules which use no special options on account deletion. | ||||||
| 	* | 	* | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue