mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-06-28 06:58:43 +02:00
clean planning management / drop populate_planning hook
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@180 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
@ -131,8 +131,11 @@ function plugin_init_example() {
|
||||
$PLUGIN_HOOKS['redirect_page']['example']['one'] = 'example.form.php';
|
||||
$PLUGIN_HOOKS['redirect_page']['example']['two'] = 'example2.form.php';
|
||||
|
||||
//function to populate planning
|
||||
$PLUGIN_HOOKS['planning_populate']['example'] = 'plugin_planning_populate_example';
|
||||
// function to populate planning
|
||||
// No more used since GLPI 0.84
|
||||
// $PLUGIN_HOOKS['planning_populate']['example'] = 'plugin_planning_populate_example';
|
||||
// Use instead : add class to planning types and define populatePlanning in class
|
||||
$CFG_GLPI['planning_types'][] = 'PluginExampleExample';
|
||||
|
||||
//function to display planning items
|
||||
$PLUGIN_HOOKS['display_planning']['example'] = 'plugin_display_planning_example';
|
||||
|
Reference in New Issue
Block a user