* Add action for xuanxuan userCheckChange function.
This commit is contained in:
@@ -246,6 +246,7 @@ class userModel extends model
|
||||
|
||||
if(!dao::isError())
|
||||
{
|
||||
$this->loadModel('action')->create('user', $user->id, 'create');
|
||||
$this->loadModel('mail');
|
||||
if($this->config->mail->mta == 'sendcloud' and !empty($user->email)) $this->mail->syncSendCloud('sync', $user->email, $user->realname);
|
||||
}
|
||||
@@ -415,6 +416,7 @@ class userModel extends model
|
||||
if(!dao::isError())
|
||||
{
|
||||
$this->loadModel('score')->create('user', 'editProfile');
|
||||
$this->loadModel('action')->create('user', $user->id, 'edited');
|
||||
$this->loadModel('mail');
|
||||
if($this->config->mail->mta == 'sendcloud' and $user->email != $oldUser->email)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user