job remove sqlesc

This commit is contained in:
xiaomlove
2026-01-30 15:28:05 +07:00
parent f3a6d366d8
commit e12cd0fab9
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -45,8 +45,8 @@ class RemoveUserDonorStatus
$user->save();
clear_user_cache($user->id);
publish_model_event(ModelEventEnum::USER_UPDATED, $user->id);
$subject = sqlesc(nexus_trans("cleanup.msg_donor_status_removed", [], $locale));
$msg = sqlesc(nexus_trans("cleanup.msg_donor_status_removed_body", [], $locale));
$subject = nexus_trans("cleanup.msg_donor_status_removed", [], $locale);
$msg = nexus_trans("cleanup.msg_donor_status_removed_body", [], $locale);
Message::add([
'sender' => 0,
'receiver' => $user->id,