Skip to content

Commit

Permalink
Review for drives
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Sep 16, 2024
1 parent a5e31e6 commit 648a890
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion phpunit/functional/Item_DevicesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ public static function itemAffinitiesProvider(): iterable
'Item_DeviceMemory',
'Item_DeviceHardDrive',
'Item_DeviceNetworkCard',
'Item_DeviceDrive',
'Item_DeviceBattery',
'Item_DevicePci', // matches `*`
'Item_DeviceGeneric', // matches `*`
Expand Down
2 changes: 1 addition & 1 deletion src/autoload/CFG_GLPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@

$CFG_GLPI['itemdevicecontrol_types'] = ['Computer'];

$CFG_GLPI['itemdevicedrive_types'] = $CFG_GLPI['itemdeviceharddrive_types'];
$CFG_GLPI['itemdevicedrive_types'] = ['Computer'];

$CFG_GLPI['itemdevicesensor_types'] = ['Computer', 'Peripheral', 'Phone'];

Expand Down

0 comments on commit 648a890

Please sign in to comment.