Load general lock on manually item update (#2947)
Load general lock on manually item update (#2947)

* fix(core): load general lock on manually item update

Signed-off-by: Stanislas <fc708392b912f98bcfe16b5a64688953f78f15d8@teclib.com>

* refactor(code): simplify code

Signed-off-by: Stanislas <fc708392b912f98bcfe16b5a64688953f78f15d8@teclib.com>

fusioninventory/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi,fusioninventory/fusioninventory-for-glpi