mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
code cleanups, remove more dead code
git-svn-id: http://www.observium.org/svn/observer/trunk@1900 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -23,7 +23,7 @@ foreach ($_POST as $key => $val)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (!mysql_query('UPDATE `ports` SET `ignore`='.$newval.' WHERE `device_id`='.$device_id.' AND `interface_id`='.$interface_id))
|
||||
{
|
||||
$n = -1;
|
||||
@@ -38,7 +38,7 @@ foreach ($_POST as $key => $val)
|
||||
$rows_updated = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
$rows_updated += $n;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user