$plug->isActivated() does not load corresponding fields, so checking $plug->fields['version'] >= '0.7.1' will always return false. Anyway, this 0.7.1 version is not used for years, and can probably be not even loaded in GLPI 9.5, so this check is useless now.
$plug->isActivated()
does not load corresponding fields, so checking$plug->fields['version'] >= '0.7.1'
will always return false. Anyway, this0.7.1
version is not used for years, and can probably be not even loaded in GLPI 9.5, so this check is useless now.