8
0
miroir de https://git.d3data.de/3rdParty/captcha-module.git synchronisé 2024-11-09 00:23:12 +01:00
captcha-module/Application/Controller/PricealarmController.php
2023-07-18 14:59:11 +00:00

24 lignes
455 B
PHP

<?php
declare(strict_types=1);
namespace OxidProfessionalServices\Captcha\Application\Controller;
use OxidProfessionalServices\Captcha\Application\Shared\Captcha;
class PricealarmController extends PricealarmController_parent
{
use Captcha;
public function addme()
{
if (!$this->getCaptcha()->passCaptcha(false)) {
$this->_iPriceAlarmStatus = 2;
return;
}
return parent::addme();
}
}