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:
tsmr 2010-11-19 10:59:14 +00:00
parent a2ddb37c0a
commit ca9fae065f

View File

@ -48,6 +48,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