Skip to content

Commit

Permalink
Use of OcsServer::updateComputer() instead of ocsUpdateComputer(). Se…
Browse files Browse the repository at this point in the history
…e release fusioninventory#47
  • Loading branch information
Vincent MAZZONI committed Apr 30, 2010
1 parent 277ef5a commit e8cda16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/communication.classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ function synchroOCS($p_xml) {
if ($DB->numrows($result) == 1) {
$line = $DB->fetch_assoc($result);
$ptais->changeStatus($line['glpi_id'], 5);
ocsUpdateComputer($line['ID'], $line['ocs_server_id'], 1);
OcsServer::updateComputer($line['ID'], $line['ocs_server_id'], 1);
$ptais->changeStatus($line['glpi_id'], 6);
}
}
Expand Down

0 comments on commit e8cda16

Please sign in to comment.