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/apcups.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugin/apcups.php') diff --git a/plugin/apcups.php b/plugin/apcups.php index 07498f0..faa586e 100644 --- a/plugin/apcups.php +++ b/plugin/apcups.php @@ -18,8 +18,6 @@ require_once 'inc/collectd.inc.php'; # apcups/voltage-output.rrd $obj = new Type_Default($CONFIG); -$obj->width = $width; -$obj->heigth = $heigth; switch($obj->args['type']) { case 'charge': -- cgit v1.1