mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +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;
|
if(!$email_address) return;
|
||||||
|
|
||||||
$args = new stdClass();
|
$args = new stdClass();
|
||||||
|
$args->email_address = $email_address;
|
||||||
if(config('db.master.type') == 'cubrid')
|
$output = executeQuery('member.getMemberInfoByEmailAddress', $args);
|
||||||
{
|
|
||||||
$args->email_address = strtolower($email_address);
|
|
||||||
$output = executeQuery('member.getMemberInfoByEmailAddressForCubrid', $args);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$args->email_address = $email_address;
|
|
||||||
$output = executeQuery('member.getMemberInfoByEmailAddress', $args);
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!$output->toBool()) return $output;
|
if(!$output->toBool()) return $output;
|
||||||
if(!$output->data) return;
|
if(!$output->data) return;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
<query id="getMemberInfoByEmailAddress" action="select">
|
|
||||||
<tables>
|
|
||||||
<table name="member" />
|
|
||||||
</tables>
|
|
||||||
<columns>
|
|
||||||
<column name="*" />
|
|
||||||
</columns>
|
|
||||||
<conditions>
|
|
||||||
<condition operation="equal" column="lcase(email_address)" var="email_address" notnull="notnull" />
|
|
||||||
</conditions>
|
|
||||||
</query>
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue