mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
removed logging user without an email from acceptance reminder command
This commit is contained in:
parent
c8ed5d2f96
commit
784aec3cbd
|
@ -71,9 +71,6 @@ class SendAcceptanceReminder extends Command
|
|||
$acceptance = $unacceptedAssetGroup[0]['acceptance'];
|
||||
$locale = $acceptance->assignedTo?->locale;
|
||||
$email = $acceptance->assignedTo?->email;
|
||||
if(!$email){
|
||||
$this->info($acceptance->assignedTo?->present()->fullName().' has no email address.');
|
||||
}
|
||||
$item_count = $unacceptedAssetGroup->count();
|
||||
|
||||
if ($locale && $email) {
|
||||
|
|
Loading…
Reference in a new issue