chore: Refactor import services

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-02-25 11:52:57 +01:00
parent 0240b0afdb
commit 65938e729e
42 changed files with 657 additions and 830 deletions

View File

@@ -27,7 +27,7 @@ namespace SP\Modules\Web\Controllers\User;
use SP\Core\Acl\Acl;
use SP\Core\Application;
use SP\DataModel\UserData;
use SP\DataModel\User;
use SP\Domain\Common\Services\ServiceException;
use SP\Domain\Core\Acl\AclActionsInterface;
use SP\Domain\Core\Exceptions\ConstraintException;
@@ -88,7 +88,7 @@ abstract class UserViewBase extends ControllerBase
$user = $userId
? $this->userService->getById($userId)
: new UserData();
: new User();
$this->view->assign('user', $user);
$this->view->assign(