mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
add event user_updated
This commit is contained in:
@@ -1070,6 +1070,10 @@ function clear_user_cache($uid, $passkey = '')
|
||||
if ($passkey) {
|
||||
\Nexus\Database\NexusDB::cache_del('user_passkey_'.$passkey.'_content');//announce.php
|
||||
}
|
||||
$userInfo = \App\Models\User::query()->find($uid, \App\Models\User::$commonFields);
|
||||
if ($userInfo) {
|
||||
fire_event("user_updated", $userInfo);
|
||||
}
|
||||
}
|
||||
|
||||
function clear_setting_cache()
|
||||
|
||||
Reference in New Issue
Block a user