summaryrefslogtreecommitdiff
path: root/app/Model/UserImport.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model/UserImport.php')
-rw-r--r--app/Model/UserImport.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/Model/UserImport.php b/app/Model/UserImport.php
index 1a398d12..199f2a90 100644
--- a/app/Model/UserImport.php
+++ b/app/Model/UserImport.php
@@ -56,12 +56,10 @@ class UserImport extends Base
if ($this->user->create($row)) {
$this->logger->debug('UserImport: imported successfully line '.$line_number);
$this->counter++;
- }
- else {
+ } else {
$this->logger->error('UserImport: creation error at line '.$line_number);
}
- }
- else {
+ } else {
$this->logger->error('UserImport: validation error at line '.$line_number);
}
}