Update nfs-stats.inc.php to use data_update

filter tags in ports.inc.php, and update the phpdoc for rrd_array_filter()
This commit is contained in:
Tony Murray
2016-07-25 20:42:37 -05:00
parent 8d950a4ed7
commit 76d5311647
3 changed files with 50 additions and 53 deletions

View File

@@ -22,8 +22,11 @@ require_once $config['install_dir'] . "/includes/rrdtool.inc.php";
require_once $config['install_dir'] . "/includes/influxdb.inc.php";
/*
* @return Copy of $arr with all keys beginning with 'rrd_' removed.
/**
* Filter all elements with keys that start with 'rrd_'
*
* @param array $arr input array
* @return array Copy of $arr with all keys beginning with 'rrd_' removed.
*/
function rrd_array_filter($arr)
{