From a6906762e0c6b0d56ec182c7352161cc20f358c9 Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Sun, 5 Jul 2009 06:47:43 +0000 Subject: [PATCH] MINOR: hide the spam protection field from the reports as it is not required --- code/EditableSpamProtectionField.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/EditableSpamProtectionField.php b/code/EditableSpamProtectionField.php index 91dc1b5..7d1efbe 100644 --- a/code/EditableSpamProtectionField.php +++ b/code/EditableSpamProtectionField.php @@ -44,4 +44,7 @@ class EditableSpamProtectionField extends EditableFormField { return 'spamprotection/images/' . strtolower($this->class) . '.png'; } + function showInReports() { + return false; + } }