mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Delete unnecessary query for Cubrid
This commit is contained in:
parent
606e53122e
commit
8bcc368f3a
2 changed files with 2 additions and 23 deletions
|
|
@ -289,18 +289,8 @@ class memberModel extends member
|
|||
if(!$email_address) return;
|
||||
|
||||
$args = new stdClass();
|
||||
|
||||
if(config('db.master.type') == 'cubrid')
|
||||
{
|
||||
$args->email_address = strtolower($email_address);
|
||||
$output = executeQuery('member.getMemberInfoByEmailAddressForCubrid', $args);
|
||||
}
|
||||
else
|
||||
{
|
||||
$args->email_address = $email_address;
|
||||
$output = executeQuery('member.getMemberInfoByEmailAddress', $args);
|
||||
}
|
||||
|
||||
$args->email_address = $email_address;
|
||||
$output = executeQuery('member.getMemberInfoByEmailAddress', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
if(!$output->data) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue