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/cpu.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 '')
| -rw-r--r-- | plugin/cpu.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/cpu.php b/plugin/cpu.php index a0a19fc..a886f97 100644 --- a/plugin/cpu.php +++ b/plugin/cpu.php | |||
| @@ -40,8 +40,6 @@ $obj->colors = array( | |||
| 40 | 'interrupt' => 'a000a0', | 40 | 'interrupt' => 'a000a0', |
| 41 | 'steal' => '000000', | 41 | 'steal' => '000000', |
| 42 | ); | 42 | ); |
| 43 | $obj->width = $width; | ||
| 44 | $obj->heigth = $heigth; | ||
| 45 | 43 | ||
| 46 | $obj->rrd_title = sprintf('CPU-%s usage', $obj->args['pinstance']); | 44 | $obj->rrd_title = sprintf('CPU-%s usage', $obj->args['pinstance']); |
| 47 | $obj->rrd_vertical = 'Jiffies'; | 45 | $obj->rrd_vertical = 'Jiffies'; |
