Skip to content

A free open source IT asset/license management system

Temporarily disbable notifying users on import

snipe63c9fbe10c85
diff --git a/app/Importer/UserImporter.php b/app/Importer/UserImporter.php
index 0e3ff01b83..019f1d2dce 100644
--- a/app/Importer/UserImporter.php
+++ b/app/Importer/UserImporter.php
@@ -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;