mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-30 16:14:21 +02:00
dead old function
git-svn-id: http://www.observium.org/svn/observer/trunk@2275 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -55,14 +55,6 @@ function shorthost($hostname, $len=16)
|
|||||||
return ($shorthost);
|
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)
|
function getHostOS($device)
|
||||||
{
|
{
|
||||||
global $config, $debug;
|
global $config, $debug;
|
||||||
|
|||||||
Reference in New Issue
Block a user