glpi-project / glpi-inventory-plugin

GLPI Inventory plugin
GNU Affero General Public License v3.0
46 stars 27 forks source link

Remove call to long time removed method #425

Closed trasher closed 1 year ago

trasher commented 1 year ago

Curent code calls TaskJob::getRealStateAgent() method; which has been removed in 2014 (see 38696e6dd9efb412542d46c376f53dfd870614a3).

It seems we can use Agent::requestStatus(), but I have no idea if it would be correct or not; and as the whole code does not seems to work for almost 10 years, I wonder if we should keep it.