* SPDX-License-Identifier: AGPL-3.0-only ************************************/ class Import { function vtlib_handler($modulename, $event_type) { if($event_type == 'module.postinstall') { // TODO Handle actions when this module is installed. } else if($event_type == 'module.disabled') { // TODO Handle actions when this module is disabled. } else if($event_type == 'module.enabled') { // TODO Handle actions when this module is enabled. } else if($event_type == 'module.preuninstall') { // TODO Handle actions when this module is about to be deleted. } else if($event_type == 'module.preupdate') { // TODO Handle actions before this module is updated. } else if($event_type == 'module.postupdate') { // TODO Handle actions after this module is updated. } } } ?>