mirror of
https://github.com/silverstripe/silverstripe-spamprotection.git
synced 2024-10-22 14:05:59 +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