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/nut.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugin/nut.php') diff --git a/plugin/nut.php b/plugin/nut.php index e97233c..a1ade0e 100644 --- a/plugin/nut.php +++ b/plugin/nut.php @@ -15,8 +15,6 @@ require_once 'inc/collectd.inc.php'; # nut-XXXX/voltage-XXXX.rrd $obj = new Type_Default($CONFIG); -$obj->width = $width; -$obj->heigth = $heigth; switch($obj->args['type']) { case 'frequency': $obj->data_sources = array('value'); -- cgit v1.1