/**
  * Add a new hard disk component
  *
  * @param type $data
  * @param type $computers_id
  * @param type $no_history
  *
  * @return nothing
  */
 function addHardDisk($data, $computers_id, $no_history)
 {
     $item_DeviceHardDrive = new Item_DeviceHardDrive();
     $deviceHardDrive = new DeviceHardDrive();
     $harddrives_id = $deviceHardDrive->import($data);
     $data['deviceharddrives_id'] = $harddrives_id;
     $data['itemtype'] = 'Computer';
     $data['items_id'] = $computers_id;
     $data['is_dynamic'] = 1;
     $data['_no_history'] = $no_history;
     $item_DeviceHardDrive->add($data, array(), !$no_history);
 }