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
@ -48,6 +48,9 @@ function plugin_init_example() {
|
|||||||
|
|
||||||
Plugin::registerClass('PluginExampleExample',
|
Plugin::registerClass('PluginExampleExample',
|
||||||
array('notificationtemplates_types' => true));
|
array('notificationtemplates_types' => true));
|
||||||
|
|
||||||
|
Plugin::registerClass('PluginExampleRuleTestCollection',
|
||||||
|
array('rulecollections_types' => true));
|
||||||
|
|
||||||
// Display a menu entry ?
|
// Display a menu entry ?
|
||||||
if (isset($_SESSION["glpi_plugin_example_profile"])) { // Right set in change_profile hook
|
if (isset($_SESSION["glpi_plugin_example_profile"])) { // Right set in change_profile hook
|
||||||
|
Loading…
x
Reference in New Issue
Block a user