From b1e34bd1868be418ef5ec26683a8d07f22cebd51 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Sat, 5 Feb 2011 20:01:26 +0100 Subject: replace function generate_colors by rainbow_colors When no colors are defined they will be generated by function rainbow_colors. --- plugin/tcpconns.php | 1 - 1 file changed, 1 deletion(-) (limited to 'plugin/tcpconns.php') diff --git a/plugin/tcpconns.php b/plugin/tcpconns.php index 4867d32..f0d99ae 100644 --- a/plugin/tcpconns.php +++ b/plugin/tcpconns.php @@ -13,7 +13,6 @@ require_once 'inc/collectd.inc.php'; $obj = new Type_GenericStacked($CONFIG); $obj->width = $width; $obj->heigth = $heigth; -$obj->generate_colors(); $obj->rrd_title = sprintf('TCP Connections (%s)', $obj->args['pinstance']); $obj->rrd_vertical = '#'; $obj->rrd_format = '%5.1lf'; -- cgit v1.1