diff --git a/webapp/controller/UserController.class.php b/webapp/controller/UserController.class.php index 0a7ed47f..8e1538d4 100644 --- a/webapp/controller/UserController.class.php +++ b/webapp/controller/UserController.class.php @@ -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(