aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/plugin/disk.php
diff options
context:
space:
mode:
authorPim van den Berg2013-05-13 20:41:14 +0200
committerPim van den Berg2013-05-13 20:41:14 +0200
commita2814f6a4b46a5d9e86146c837ae11343dde4ea7 (patch)
tree0e821febc948da493ecb40a31ecfdbf4df0e80ab /plugin/disk.php
parenttype: stick to the rrdgraph time specification (diff)
downloadapt-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/disk.php')
-rw-r--r--plugin/disk.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugin/disk.php b/plugin/disk.php
index e3a5f3d..763ae10 100644
--- a/plugin/disk.php
+++ b/plugin/disk.php
@@ -23,8 +23,6 @@ $obj->colors = array(
23 'read' => '0000ff', 23 'read' => '0000ff',
24 'write' => '00b000', 24 'write' => '00b000',
25); 25);
26$obj->width = $width;
27$obj->heigth = $heigth;
28switch($obj->args['type']) { 26switch($obj->args['type']) {
29 case 'disk_merged': 27 case 'disk_merged':
30 $obj->rrd_title = sprintf('Disk Merged Operations (%s)', $obj->args['pinstance']); 28 $obj->rrd_title = sprintf('Disk Merged Operations (%s)', $obj->args['pinstance']);