From 231bb52ed1c6fee73701b02191bff6c570d4af7c Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Tue, 2 Aug 2016 08:08:20 -0500 Subject: [PATCH] Accidental inclusion. --- includes/functions.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 954385e4cf..b7ce3b20f1 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -336,14 +336,6 @@ function addHost($host, $snmp_version = '', $port = '161', $transport = 'udp', $ return "Could not connect, please check the snmp details and snmp reachability"; } -function getAddHostErrorMessage($error) { - switch($error) { - case -1: - return "Already got host $host"; - } - -} - function deviceArray($host, $community, $snmpver, $port = 161, $transport = 'udp', $v3, $port_assoc_mode = 'ifIndex') { $device = array(); $device['hostname'] = $host;