Skip to content

Commit e12cd0f

Browse files
committed
job remove sqlesc
1 parent f3a6d36 commit e12cd0f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/Jobs/RemoveUserDonorStatus.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public function handle(): void
4545
$user->save();
4646
clear_user_cache($user->id);
4747
publish_model_event(ModelEventEnum::USER_UPDATED, $user->id);
48-
$subject = sqlesc(nexus_trans("cleanup.msg_donor_status_removed", [], $locale));
49-
$msg = sqlesc(nexus_trans("cleanup.msg_donor_status_removed_body", [], $locale));
48+
$subject = nexus_trans("cleanup.msg_donor_status_removed", [], $locale);
49+
$msg = nexus_trans("cleanup.msg_donor_status_removed_body", [], $locale);
5050
Message::add([
5151
'sender' => 0,
5252
'receiver' => $user->id,

app/Jobs/RemoveUserVipStatus.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ public function handle(): void
4343
$user->vip_until = null;
4444
if ($user->class <= User::CLASS_VIP) {
4545
$user->class = User::CLASS_USER;
46-
$subject = sqlesc(nexus_trans("cleanup.msg_vip_status_removed", [], $locale));
47-
$msg = sqlesc(nexus_trans("cleanup.msg_vip_status_removed_body", [], $locale));
46+
$subject = nexus_trans("cleanup.msg_vip_status_removed", [], $locale);
47+
$msg = nexus_trans("cleanup.msg_vip_status_removed_body", [], $locale);
4848
$message = [
4949
'sender' => 0,
5050
'receiver' => $user->id,

0 commit comments

Comments
 (0)