diff --git a/inc/ruletestcollection.class.php b/inc/ruletestcollection.class.php index c6e0c9d..306afc5 100644 --- a/inc/ruletestcollection.class.php +++ b/inc/ruletestcollection.class.php @@ -40,7 +40,7 @@ class PluginExampleRuleTestCollection extends RuleCollection { // From RuleCollection public $stop_on_first_match = true; - static public = 'rule_import'; + static public $right = 'rule_import'; public $menu_option = 'test'; function getTitle() { diff --git a/setup.php b/setup.php index d36b260..81c0667 100755 --- a/setup.php +++ b/setup.php @@ -43,7 +43,6 @@ function plugin_init_example() { // )); Plugin::registerClass('PluginExampleConfig', array('addtabon' => 'Config')); - Plugin::registerClass('PluginExampleRight', array('addtabon' => 'Profile')); // Params : plugin name - string type - ID - Array of attributes Plugin::registerClass('PluginExampleDropdown');