dead old function

git-svn-id: http://www.observium.org/svn/observer/trunk@2275 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-05-11 21:53:08 +00:00
parent 65eab7db23
commit 26d4bb2eee
-8
View File
@@ -55,14 +55,6 @@ function shorthost($hostname, $len=16)
return ($shorthost);
}
function device_array($device_id)
{
$sql = "SELECT * FROM `devices` WHERE `device_id` = '".$device_id."'";
$query = mysql_query($sql);
$device = mysql_fetch_assoc($query);
return $device;
}
function getHostOS($device)
{
global $config, $debug;