diff options
| author | Pim van den Berg | 2013-05-13 20:41:14 +0200 |
|---|---|---|
| committer | Pim van den Berg | 2013-05-13 20:41:14 +0200 |
| commit | a2814f6a4b46a5d9e86146c837ae11343dde4ea7 (patch) | |
| tree | 0e821febc948da493ecb40a31ecfdbf4df0e80ab /plugin/md.php | |
| parent | type: stick to the rrdgraph time specification (diff) | |
| download | apt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.zip apt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.tar.gz apt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.tar.bz2 apt-panopticon_cgp-a2814f6a4b46a5d9e86146c837ae11343dde4ea7.tar.xz | |
move width/heigth from plugins to type __construct
Diffstat (limited to 'plugin/md.php')
| -rw-r--r-- | plugin/md.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/md.php b/plugin/md.php index abbf963..56df8a3 100644 --- a/plugin/md.php +++ b/plugin/md.php | |||
| @@ -14,8 +14,6 @@ $obj = new Type_Default($CONFIG); | |||
| 14 | $obj->ds_names = array( | 14 | $obj->ds_names = array( |
| 15 | 'value' => 'Value', | 15 | 'value' => 'Value', |
| 16 | ); | 16 | ); |
| 17 | $obj->width = $width; | ||
| 18 | $obj->heigth = $heigth; | ||
| 19 | $obj->rrd_title = sprintf('Disks (md-%s)', $obj->args['pinstance']); | 17 | $obj->rrd_title = sprintf('Disks (md-%s)', $obj->args['pinstance']); |
| 20 | $obj->rrd_vertical = '#'; | 18 | $obj->rrd_vertical = '#'; |
| 21 | $obj->rrd_format = '%2.0lf'; | 19 | $obj->rrd_format = '%2.0lf'; |
