Skip to content

A free open source IT asset/license management system

remove unnecessary code from checkinasset notification

Godfrey Mab3b9c45106f
diff --git a/app/Notifications/CheckinAssetNotification.php b/app/Notifications/CheckinAssetNotification.php
index 5c38982ab6..6f95437334 100644
--- a/app/Notifications/CheckinAssetNotification.php
+++ b/app/Notifications/CheckinAssetNotification.php
@@ -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;
}