mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Temporarily disbable notifying users on import
This commit is contained in:
parent
101dfd01f2
commit
63c9fbe10c
|
@ -68,7 +68,9 @@ class UserImporter extends ItemImporter
|
||||||
'last_name' => $user->last_name,
|
'last_name' => $user->last_name,
|
||||||
'password' => $this->tempPassword,
|
'password' => $this->tempPassword,
|
||||||
];
|
];
|
||||||
$user->notify(new WelcomeNotification($data));
|
|
||||||
|
// UNCOMMENT this to re-enable sending email notifications on user import
|
||||||
|
// $user->notify(new WelcomeNotification($data));
|
||||||
}
|
}
|
||||||
$user = null;
|
$user = null;
|
||||||
$this->item = null;
|
$this->item = null;
|
||||||
|
|
Loading…
Reference in a new issue