mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
Update for rules using
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@147 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
a2ddb37c0a
commit
ca9fae065f
@ -49,6 +49,9 @@ function plugin_init_example() {
|
||||
Plugin::registerClass('PluginExampleExample',
|
||||
array('notificationtemplates_types' => true));
|
||||
|
||||
Plugin::registerClass('PluginExampleRuleTestCollection',
|
||||
array('rulecollections_types' => true));
|
||||
|
||||
// Display a menu entry ?
|
||||
if (isset($_SESSION["glpi_plugin_example_profile"])) { // Right set in change_profile hook
|
||||
$PLUGIN_HOOKS['menu_entry']['example'] = 'front/example.php';
|
||||
|
Loading…
x
Reference in New Issue
Block a user