protected function doPostProcessActions() { if ( $this->isBlockNeeded() && $this->blockCurrentUser() && CSecurityIPRule::IsActive() ) { CSecurityIPRule::OnPageStart(true); } }
/** * @param array $originalPostVars */ protected function doPostProccessActions($originalPostVars = array()) { if ($this->currentUserHaveRightsForSkip() && $this->isNeedShowForm()) { $this->showForm($originalPostVars); } elseif ($this->isUserBlocked && CSecurityIPRule::IsActive()) { CSecurityIPRule::OnPageStart(true); } }