K
Kirby
Guest
\XF\Service\User\Registration::checkForSpam
PHP:
Could this be changed so the second parameter for
Eg. smth. like
PHP:
Read more
Continue reading...
PHP:
Code:
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:
Code:
public function checkForSpam()
{
$user = $this->user;
$userChecker = $this->app->spam()->userChecker()...
Read more
Continue reading...