Code

contrib/collection.cgi: Fix spam_check graph for email plugin.
authorBrad Fritz <brad@fewerhassles.com>
Mon, 24 Aug 2009 17:25:37 +0000 (13:25 -0400)
committerFlorian Forster <octo@huhu.verplant.org>
Thu, 27 Aug 2009 05:02:16 +0000 (07:02 +0200)
Corrects DS name to fix email plugin's spam_check graph.

Signed-off-by: Brad Fritz <brad@fewerhassles.com>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
contrib/collection.cgi

index d3a284f88457245fc2171b82e6b7943212ecfa5c..f3c244ea287a8515ea3acd66b51ff0f346e350c3 100755 (executable)
@@ -1290,9 +1290,9 @@ sub load_graph_definitions
     'GPRINT:avg:LAST:%4.1lf Last\l'
     ],
     spam_check => [
-    'DEF:avg={file}:hits:AVERAGE',
-    'DEF:min={file}:hits:MIN',
-    'DEF:max={file}:hits:MAX',
+    'DEF:avg={file}:value:AVERAGE',
+    'DEF:min={file}:value:MIN',
+    'DEF:max={file}:value:MAX',
     "AREA:max#$HalfMagenta",
     "AREA:min#$Canvas",
     "LINE1:avg#$FullMagenta:Count ",