mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-28 06:57:22 +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';
|
$msgTransKey = 'exam.checkout_pass_message_content';
|
||||||
} else {
|
} else {
|
||||||
do_log("$currentLogPrefix, [will be banned]");
|
do_log("$currentLogPrefix, [will be banned]");
|
||||||
|
clear_user_cache($examUser->user->id, $examUser->user->passkey);
|
||||||
$subjectTransKey = 'exam.checkout_not_pass_message_subject';
|
$subjectTransKey = 'exam.checkout_not_pass_message_subject';
|
||||||
$msgTransKey = 'exam.checkout_not_pass_message_content';
|
$msgTransKey = 'exam.checkout_not_pass_message_content';
|
||||||
//ban user
|
//ban user
|
||||||
|
|||||||
Reference in New Issue
Block a user