From a2814f6a4b46a5d9e86146c837ae11343dde4ea7 Mon Sep 17 00:00:00 2001 From: Pim van den Berg Date: Mon, 13 May 2013 20:41:14 +0200 Subject: move width/heigth from plugins to type __construct --- plugin/varnish.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugin/varnish.php') diff --git a/plugin/varnish.php b/plugin/varnish.php index 8099691..78d33bd 100644 --- a/plugin/varnish.php +++ b/plugin/varnish.php @@ -23,8 +23,6 @@ require_once 'inc/collectd.inc.php'; #varnish-default-connections/connections-received.rrd $obj = new Type_Default($CONFIG); -$obj->width = $width; -$obj->heigth = $heigth; $obj->rrd_format = '%5.1lf%s'; $obj->rrd_title = sprintf('%s (%s)', ucfirst($obj->args['pinstance']), $obj->args['category']); $obj->rrd_vertical = 'hits'; -- cgit v1.1