Skip to content

Commit 0dd7897

Browse files
committed
Remove unused $to variable in SendAuditReportListener for code cleanup
1 parent adc11c3 commit 0dd7897

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

app/Listeners/SendAuditReportListener.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ protected function handle2($event)
3636
$user = $event->user;
3737
$user->actAs(); // otherwise the tenant will not be properly set
3838
$from = config('towerify.freshdesk.from_email');
39-
$to = $user->email;
4039

4140
if (!$user->gets_audit_report) {
4241
return;

0 commit comments

Comments
 (0)