We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f43c72b commit 7b647e2Copy full SHA for 7b647e2
hook.php
@@ -66,7 +66,7 @@ function plugin_centreon_install($version)
66
$decrypted_pwd = @(new GLPIKey())->decrypt($centreon_password);
67
if ($decrypted_pwd == '') {
68
Config::setConfigurationValues('plugin:centreon', [
69
- 'centreon-password' => (new GLPIKey())->encrypt($centreon_password)
+ 'centreon-password' => (new GLPIKey())->encrypt($centreon_password),
70
]);
71
}
72
setup.php
@@ -59,8 +59,8 @@ function plugin_init_centreon()
59
$PLUGIN_HOOKS[Hooks::PRE_ITEM_UPDATE]['centreon'] = [
60
\Config::class => [
61
GlpiPlugin\Centreon\Config::class,
62
- 'prepareConfigUpdate'
63
- ]
+ 'prepareConfigUpdate',
+ ],
64
];
65
0 commit comments