You are here

public function SFW::actionsForDenied in Anti Spam by CleanTalk 9.1.x

Same name and namespace in other branches
  1. 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

SFW

Namespace

Cleantalk\Common\Firewall\Modules

Code

public function actionsForDenied($result) {
  if ($this->sfw_counter) {

    // @ToDo have to implement the logic of incrementing and saving count of blocked requests.
  }
}