mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 13:32:41 +08:00
clear user cache when wearing medals
This commit is contained in:
@@ -87,6 +87,7 @@ class MedalRepository extends BaseRepository
|
||||
$userMedal->status = UserMedal::STATUS_NOT_WEARING;
|
||||
}
|
||||
$userMedal->save();
|
||||
clear_user_cache($userId);
|
||||
return $userMedal;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user