1
This commit is contained in:
parent
9d39b424cd
commit
627a3965d0
@ -810,22 +810,11 @@ class UserController extends BaseAuthedController {
|
||||
$oldUser = User::findByAddress($address);
|
||||
if ($oldUser) {
|
||||
if ($oldUser['account_id'] != myself()->_getAccountId()) {
|
||||
SqlHelper::upsert
|
||||
($this->_getSelfMysql(),
|
||||
't_user',
|
||||
array(
|
||||
'account_id' => $this->_getAccountId()
|
||||
),
|
||||
array(
|
||||
),
|
||||
$fields
|
||||
);
|
||||
}
|
||||
} else {
|
||||
User::Update(array(
|
||||
'address' => $address
|
||||
));
|
||||
}
|
||||
User::Update(array(
|
||||
'address' => $address
|
||||
));
|
||||
$propertyChgService = new services\PropertyChgService();
|
||||
$propertyChgService->addUserChg();
|
||||
$this->_rspData(array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user