You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
411 B
PHP
16 lines
411 B
PHP
<?php
|
|
|
|
namespace DataAccess\Tickets;
|
|
|
|
|
|
use DataAccess\CommonDao;
|
|
|
|
class VerifiedEmailGateway extends CommonDao {
|
|
function isEmailVerified($emailAddress, $heskSettings) {
|
|
$this->init();
|
|
|
|
$rs = hesk_dbQuery("SELECT 1 FROM `" . hesk_dbEscape($heskSettings['db_pfix']) . "verified_emails` WHERE `Email` = '" . hesk_dbEscape($emailAddress) . "'");
|
|
|
|
return hesk_dbNumRows($rs) > 0;
|
|
}
|
|
} |