public function SFW::actionsForDenied in Anti Spam by CleanTalk 9.1.x
Same name and namespace in other branches
- 8.4 src/lib/Cleantalk/Common/Firewall/Modules/SFW.php \Cleantalk\Common\Firewall\Modules\SFW::actionsForDenied()
@inheritdoc
Overrides FirewallModule::actionsForDenied
File
- src/
lib/ Cleantalk/ Common/ Firewall/ Modules/ SFW.php, line 164
Class
Namespace
Cleantalk\Common\Firewall\ModulesCode
public function actionsForDenied($result) {
if ($this->sfw_counter) {
// @ToDo have to implement the logic of incrementing and saving count of blocked requests.
}
}