finalize move to sensors table for frequencies

git-svn-id: http://www.observium.org/svn/observer/trunk@1550 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-07-30 16:44:59 +00:00
parent b34cb35a46
commit 088dde8eb0
11 changed files with 37 additions and 41 deletions

View File

@@ -2,7 +2,6 @@
$graph_type = "sensor_current";
unset($current_seperator);
if($total = mysql_result(mysql_query("SELECT count(sensor_id) from sensors WHERE sensor_class='current' AND device_id = '" . $device['device_id'] . "'"),0)) {
$rows = round($total / 2,0);
echo("<div style='background-color: #eeeeee; margin: 5px; padding: 5px;'>");