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/sensors.php | 1 - 1 file changed, 1 deletion(-) (limited to 'plugin/sensors.php') diff --git a/plugin/sensors.php b/plugin/sensors.php index bfdb411..3f23e98 100644 --- a/plugin/sensors.php +++ b/plugin/sensors.php @@ -18,7 +18,6 @@ $obj->ds_names = array( ); $obj->width = $width; $obj->heigth = $heigth; -$obj->generate_colors(); switch($obj->args['type']) { case 'fanspeed': $obj->rrd_title = sprintf('Fanspeed (%s)', $obj->args['pinstance']); -- cgit v1.1