Temporarily disbable notifying users on import

This commit is contained in:
snipe 2018-08-14 18:27:46 -07:00
parent 101dfd01f2
commit 63c9fbe10c

View file

@ -68,7 +68,9 @@ class UserImporter extends ItemImporter
'last_name' => $user->last_name,
'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;
$this->item = null;