Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit 3c10d95

Browse files
committed
Added more information for imports.
1 parent 97a4027 commit 3c10d95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Commands/Import.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,13 @@ public function handle()
4545

4646
if ($user) {
4747
$users = [$adldap->search()->users()->findOrFail($user)];
48+
49+
$this->info("Found user '{$users[0]->getCommonName()}'. Importing...");
4850
} else {
4951
// Retrieve all users.
5052
$users = $adldap->search()->users()->get();
53+
54+
$this->info("Found {$users->count()} user(s). Starting import...");
5155
}
5256

5357
$this->info("Successfully imported {$this->import($users)} user(s).");

0 commit comments

Comments
 (0)