mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
exam not pass, disable user clear cache
This commit is contained in:
@@ -1108,6 +1108,7 @@ class ExamRepository extends BaseRepository
|
||||
$msgTransKey = 'exam.checkout_pass_message_content';
|
||||
} else {
|
||||
do_log("$currentLogPrefix, [will be banned]");
|
||||
clear_user_cache($examUser->user->id, $examUser->user->passkey);
|
||||
$subjectTransKey = 'exam.checkout_not_pass_message_subject';
|
||||
$msgTransKey = 'exam.checkout_not_pass_message_content';
|
||||
//ban user
|
||||
|
||||
Reference in New Issue
Block a user