mirror of
https://github.com/silverstripe/silverstripe-spamprotection.git
synced 2024-06-29 07:49:21 +02:00
MINOR: hide the spam protection field from the reports as it is not required
This commit is contained in:
parent
8f9c0ba944
commit
a6906762e0
|
@ -44,4 +44,7 @@ class EditableSpamProtectionField extends EditableFormField {
|
||||||
return 'spamprotection/images/' . strtolower($this->class) . '.png';
|
return 'spamprotection/images/' . strtolower($this->class) . '.png';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showInReports() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user