miroir de
https://git.d3data.de/3rdParty/captcha-module.git
synchronisé 2024-09-20 22:49:43 +02:00
22 lignes
410 B
PHP
22 lignes
410 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
namespace OxidProfessionalServices\Captcha\Application\Controller;
|
||
|
|
||
|
use OxidProfessionalServices\Captcha\Application\Shared\Captcha;
|
||
|
|
||
|
class NewsletterController extends NewsletterController_parent
|
||
|
{
|
||
|
use Captcha;
|
||
|
|
||
|
public function send()
|
||
|
{
|
||
|
if (!$this->getCaptcha()->passCaptcha()) {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
return parent::send();
|
||
|
}
|
||
|
}
|