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/nut.php | 1 - 1 file changed, 1 deletion(-) (limited to 'plugin/nut.php') diff --git a/plugin/nut.php b/plugin/nut.php index 816a9ca..b1016e6 100644 --- a/plugin/nut.php +++ b/plugin/nut.php @@ -16,7 +16,6 @@ require_once 'inc/collectd.inc.php'; $obj = new Type_Default($CONFIG); $obj->width = $width; $obj->heigth = $heigth; -$obj->generate_colors(); switch($obj->args['type']) { case 'percent': $obj->data_sources = array('percent'); -- cgit v1.1