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/cpufreq.php | 1 - 1 file changed, 1 deletion(-) (limited to 'plugin/cpufreq.php') diff --git a/plugin/cpufreq.php b/plugin/cpufreq.php index ef2162b..0ecc9a3 100644 --- a/plugin/cpufreq.php +++ b/plugin/cpufreq.php @@ -13,7 +13,6 @@ $obj = new Type_Default($CONFIG); $obj->data_sources = array('value'); $obj->width = $width; $obj->heigth = $heigth; -$obj->generate_colors(); $obj->rrd_title = 'CPU frequency scaling'; $obj->rrd_vertical = 'Mhz'; $obj->rrd_format = '%5.1lf%s'; -- cgit v1.1