mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
delete user medal send notification
This commit is contained in:
@@ -139,6 +139,7 @@ class UserMedalResource extends Resource
|
|||||||
DeleteAction::make()->using(function (NexusModel $record) {
|
DeleteAction::make()->using(function (NexusModel $record) {
|
||||||
$record->delete();
|
$record->delete();
|
||||||
clear_user_cache($record->uid);
|
clear_user_cache($record->uid);
|
||||||
|
send_admin_success_notification();
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
->toolbarActions([
|
->toolbarActions([
|
||||||
|
|||||||
Reference in New Issue
Block a user