mirror of
https://github.com/tips-of-mine/GLPI-Plugin-SOC-Case-Management.git
synced 2025-11-27 15:22:31 +01:00
This commit addresses two issues:
1. Re-applies the fix for the `PluginSocProfile` registration.
The extraneous 'classname' attribute, which caused a warning
(Warning: Unknown attributes "classname" used in "PluginSocProfile" class
registration in /var/www/glpi/src/Plugin.php on line 1667),
has been removed. The registration is now correctly:
`Plugin::registerClass('PluginSocProfile');`
2. Ensures plugin activation/deactivation functions are present.
Adds the `plugin_enable_soc` and `plugin_disable_soc` functions
to `setup.php`. These are required by GLPI to manage the plugin's
lifecycle and display the enable/disable buttons in the plugin
management interface.
These changes ensure the plugin registers correctly without warnings and
can be properly activated and deactivated within GLPI.
7.7 KiB
7.7 KiB