Adapt scipt for GLPI 0.84


git-svn-id: https://forge.indepnet.net/svn/glpi/trunk@20265 35612d4c-9d10-0410-837c-bf9dd1be60d7