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/varnish.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/varnish.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/varnish.php b/plugin/varnish.php index 8099691..78d33bd 100644 --- a/plugin/varnish.php +++ b/plugin/varnish.php | |||
@@ -23,8 +23,6 @@ require_once 'inc/collectd.inc.php'; | |||
23 | #varnish-default-connections/connections-received.rrd | 23 | #varnish-default-connections/connections-received.rrd |
24 | 24 | ||
25 | $obj = new Type_Default($CONFIG); | 25 | $obj = new Type_Default($CONFIG); |
26 | $obj->width = $width; | ||
27 | $obj->heigth = $heigth; | ||
28 | $obj->rrd_format = '%5.1lf%s'; | 26 | $obj->rrd_format = '%5.1lf%s'; |
29 | $obj->rrd_title = sprintf('%s (%s)', ucfirst($obj->args['pinstance']), $obj->args['category']); | 27 | $obj->rrd_title = sprintf('%s (%s)', ucfirst($obj->args['pinstance']), $obj->args['category']); |
30 | $obj->rrd_vertical = 'hits'; | 28 | $obj->rrd_vertical = 'hits'; |