moduleInstall(array ( 'application' => 'eisge_api', 'module' => 'Kalifast-Bug-Reporter', 'module_desc' => 'A module to let the user create KALIFAST tickets', 'libraries' => array( array( "lib_name" => "Reporter", "lib_desc" => "Contains the rest functions to report a bug on the website", ), ), 'modes' => array('DISPLAY', 'EDIT') )); } /* Unregister the module */ function uninstall_kalifast_bug_reporter() { $instance = new EISGE_Module_Core(); $instance->moduleUninstall(array('application' => 'eisge_api', 'module'=>'Kalifast-Bug-Reporter')); } /* Setup hooks */ add_action( 'activate_Kalifast-Bug-Reporter/module_setup.php', 'install_kalifast_bug_reporter' ); add_action( 'deactivate_Kalifast-Bug-Reporter/module_setup.php', 'uninstall_kalifast_bug_reporter' );