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

Commit fd30373

Browse files
authored
Fixed restore flag not restoring users
- Closes #425
1 parent c76bd48 commit fd30373

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
@@ -121,6 +121,10 @@ public function import(array $users = [])
121121
// Save the returned model.
122122
$this->save($user, $model);
123123

124+
if ($this->isRestoring()) {
125+
$this->restore($user, $model);
126+
}
127+
124128
if ($this->isDeleting()) {
125129
$this->delete($user, $model);
126130
}

0 commit comments

Comments
 (0)