diff --git a/includes/functions.php b/includes/functions.php index bf429b24e..872b6b65f 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -941,25 +941,4 @@ function validate_device_id($id) return($return); } -function get_device_id($hostname) -{ - global $config; - if(empty($hostname)) - { - $return = false; - } - else - { - $device_id = dbFetchCell("SELECT `device_id` FROM `devices` WHERE `hostname` = ?", array($hostname)); - if(empty($device_id)) - { - $return = false; - } - else - { - $return = $device_id; - } - } - return $return; -} ?>