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/hddtemp.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugin/hddtemp.php') diff --git a/plugin/hddtemp.php b/plugin/hddtemp.php index 1c90b78..2df7f35 100644 --- a/plugin/hddtemp.php +++ b/plugin/hddtemp.php @@ -11,8 +11,6 @@ require_once 'inc/collectd.inc.php'; $obj = new Type_Default($CONFIG); $obj->ds_names = array('temperature' => 'Temperature'); -$obj->width = $width; -$obj->heigth = $heigth; $obj->rrd_title = 'HDD Temperature'; $obj->rrd_vertical = '°C'; $obj->rrd_format = '%.1lf'; -- cgit v1.1