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/sensors.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugin/sensors.php') diff --git a/plugin/sensors.php b/plugin/sensors.php index 3f23e98..9daf662 100644 --- a/plugin/sensors.php +++ b/plugin/sensors.php @@ -16,8 +16,6 @@ $obj = new Type_Default($CONFIG); $obj->ds_names = array( 'value' => 'Value', ); -$obj->width = $width; -$obj->heigth = $heigth; switch($obj->args['type']) { case 'fanspeed': $obj->rrd_title = sprintf('Fanspeed (%s)', $obj->args['pinstance']); -- cgit v1.1