امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
\XF\Service\User\Registration::checkForSpam
PHP:
Could this be changed so the second parameter for
Eg. smth. like
PHP:
Read more
PHP:
کد:
public function checkForSpam()
{
$user = $this->user;
$userChecker = $this->app->spam()->userChecker();
$userChecker->check($user, ['preRegActionKey' => $this->preRegActionKey]);
Could this be changed so the second parameter for
check is taken from a method istead of being hardcoded?Eg. smth. like
PHP:
کد:
public function checkForSpam()
{
$user = $this->user;
$userChecker = $this->app->spam()->userChecker()...
Read more
