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/dns.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugin/dns.php') diff --git a/plugin/dns.php b/plugin/dns.php index a3e5613..15143b5 100644 --- a/plugin/dns.php +++ b/plugin/dns.php @@ -35,14 +35,12 @@ switch($obj->args['type']) { break; case 'dns_opcode': $obj->data_sources = array('value'); - $obj->generate_colors(); $obj->rrd_title = 'DNS Opcode Query'; $obj->rrd_vertical = 'Queries/s'; $obj->rrd_format = '%5.1lf%s'; break; case 'dns_qtype': $obj->data_sources = array('value'); - $obj->generate_colors(); $obj->rrd_title = 'DNS QType'; $obj->rrd_vertical = 'Queries/s'; $obj->rrd_format = '%5.1lf%s'; -- cgit v1.1