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:
Tom Laermans
2011-03-17 11:29:23 +00:00
parent 9f24ca4248
commit aedac10866
6 changed files with 311 additions and 370 deletions
+2 -2
View File
@@ -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;
}
}