Skip to content

Commit

Permalink
Use of Device::dropdownTypes() instead of dropdownDeviceTypes(). See …
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent MAZZONI committed Apr 28, 2010
1 parent f35dc68 commit 29fcebc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,7 @@ function plugin_fusioninventory_MassiveActionsFieldsDisplay($type,$table,$field,
$type_list[] = PRINTER_TYPE;
$type_list[] = PERIPHERAL_TYPE;
$type_list[] = PHONE_TYPE;
dropdownDeviceTypes('type',$linkfield,$type_list);
Device::dropdownTypes('type',$linkfield,$type_list);
return true;
break;

Expand Down Expand Up @@ -1746,7 +1746,7 @@ function plugin_fusioninventory_MassiveActionsFieldsDisplay($type,$table,$field,
$type_list[] = PRINTER_TYPE;
$type_list[] = PERIPHERAL_TYPE;
$type_list[] = PHONE_TYPE;
dropdownDeviceTypes('type',$linkfield,$type_list);
Device::dropdownTypes('type',$linkfield,$type_list);
return true;
break;
}
Expand Down
2 changes: 1 addition & 1 deletion inc/constructdevice.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function showForm($target, $ID = '') {
}
}
// END GENERIC OBJECT
dropdownDeviceTypes('type',$this->fields["type"],$type_list);
Device::dropdownTypes('type',$this->fields["type"],$type_list);
echo "</td>";
echo "</tr>";

Expand Down
Empty file modified inc/snmp.classes.php
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion inc/unknowndevice.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function showForm($target, $ID = '') {
}
}
// END GENERIC OBJECT
dropdownDeviceTypes('type',$this->fields["type"],$type_list);
Device::dropdownTypes('type',$this->fields["type"],$type_list);
echo "</td>";

echo "<td align='center'>" . $LANG['setup'][89] . " : </td>";
Expand Down

0 comments on commit 29fcebc

Please sign in to comment.