From f256cc3ed9124f8e279e0d8e50f55e6722fdd7aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BB=94=E5=93=A5?= Date: Thu, 9 Aug 2018 16:59:01 +0800 Subject: [PATCH] * Add action for xuanxuan userCheckChange function. --- module/user/model.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/user/model.php b/module/user/model.php index f26e9727f3..f64e69e1ef 100644 --- a/module/user/model.php +++ b/module/user/model.php @@ -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) {