mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user