mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
use rrdtool_update() everywhere instead of single rrdtool update lines, remove some dead code, and a bunch of coding style cleanups..
git-svn-id: http://www.observium.org/svn/observer/trunk@780 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -68,7 +68,6 @@ while ($acc = mysql_fetch_array($mac_accounting_query)) {
|
||||
RRA:MAX:0.5:288:797");
|
||||
}
|
||||
$woo = "N:".($b_in+0).":".($b_out+0).":".($p_in+0).":".($p_out+0);
|
||||
if($debug) {echo("\n rrdtool update $rrdfile $woo");}
|
||||
$ret = rrdtool_update("$rrdfile", $woo);
|
||||
|
||||
if ($update) { /// Do Updates
|
||||
|
Reference in New Issue
Block a user