Currently, the code is bloated with lots of if/variants to support various GLPI versions (I am not even sure this support is reliable).
As stated in 6f9eed9cf, compatibility with GLPI versions older than 9.1 will be dropped.
This will allow some code removal and pave the way for some future improvements.
Disclaimer: not being the original author of this plugin I don't really understand it fully (nor took the time to though), but I guess that cleaning it and using state-of-the-art GLPI methods will help me know it better.
Currently, the code is bloated with lots of if/variants to support various GLPI versions (I am not even sure this support is reliable).
As stated in 6f9eed9cf, compatibility with GLPI versions older than 9.1 will be dropped. This will allow some code removal and pave the way for some future improvements.
Disclaimer: not being the original author of this plugin I don't really understand it fully (nor took the time to though), but I guess that cleaning it and using state-of-the-art GLPI methods will help me know it better.