fixed bug with not unsetting deleted status for ports

git-svn-id: http://www.observium.org/svn/observer/trunk@870 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-02-16 01:23:05 +00:00
parent 7462ce985c
commit cc5be54b71
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -35,12 +35,8 @@
# Add Interface
echo("+");
} else {
if(isset($interface['deleted']) && $interface['deleted']) {
mysql_query("UPDATE `interfaces` SET `deleted` = '0' WHERE `device_id` = '".$device['device_id']."' AND `ifIndex` = '$ifIndex'");
echo("*");
} else {
echo(".");
}
}
$int_exists[] = "$ifIndex";
} else {