From addc57e2194a744b0c4916dc705bb8e34a32f352 Mon Sep 17 00:00:00 2001 From: Matthias Viehweger Date: Sat, 20 Oct 2012 00:42:04 +0200 Subject: change whitespace, indentation or line-breaks --- inc/collectd.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'inc/collectd.inc.php') diff --git a/inc/collectd.inc.php b/inc/collectd.inc.php index 3c016af..3aef6b8 100644 --- a/inc/collectd.inc.php +++ b/inc/collectd.inc.php @@ -30,7 +30,7 @@ function collectd_plugindata($host, $plugin=NULL) { $files = glob("*/*.rrd"); if (!$files) return false; - + $data = array(); foreach($files as $item) { preg_match('` @@ -73,7 +73,7 @@ function collectd_plugins($host) { if (!in_array($item['p'], $plugins)) $plugins[] = $item['p']; } - + return $plugins; } @@ -105,7 +105,7 @@ function collectd_plugindetail($host, $plugin, $detail, $where=NULL) { if (empty($return)) return false; - + return $return; } @@ -171,7 +171,7 @@ function build_url($base, $items, $s=NULL) { if (!is_array($items)) return false; - + if (!is_numeric($s)) $s = $CONFIG['time_range']['default']; -- cgit v1.1