forked from glpi-project/glpi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Json protocol contact support update (glpi-project#10316)
* Add inventory related hooks constant definitions * Update json protocol CONTACT support * use hooks constant definitions * add hooks support for all tasks supported by GLPI-Agent * disable not supported tasks * enable inventory and remoteinventory tasks by default * Update src/Plugin/Hooks.php Co-authored-by: Alexandre Delaunay <[email protected]> * Use is_array & count in place of !empty Co-authored-by: Alexandre Delaunay <[email protected]> * Add handle remoteinventory task hook constant definition * Preset inventory support in hooks params and follow suggestions: * prepare hooks params in handleTask * also handle remoteinventory task as hook Co-authored-by: Alexandre Delaunay <[email protected]>
- Loading branch information
Showing
2 changed files
with
153 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters