3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-20 03:35:52 +00:00

remove unnecessary code from checkinasset notification

This commit is contained in:
Godfrey M
2024-10-23 16:24:01 -07:00
parent 2cc2b2b1df
commit ab3b9c4510

View File

@ -64,14 +64,6 @@ class CheckinAssetNotification extends Notification
$notifyBy[] = 'slack';
}
// /**
// * Only send checkin notifications to users if the category
// * has the corresponding checkbox checked.
// */
// if ($this->item->checkin_email() && $this->target instanceof User && $this->target->email != '') {
// $notifyBy[] = 'mail';
// }
return $notifyBy;
}