Fix deprecated glpi function