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