Commit 55454575 authored by Ivan Nieto Vivanco's avatar Ivan Nieto Vivanco
Browse files

Remove an else statement that doesn't allow to continue the importer flow.

parent 19994e20
......@@ -125,8 +125,6 @@ class UserImporter extends ItemImporter
if ($department) {
$this->log('A matching department ' . $department_name . ' already exists');
return $department->id;
} else {
return null;
}
$department = new department();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment