chore: Refactor XML export

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-02-10 12:42:26 +01:00
parent 6f3ed10144
commit 6543d3f1e5
20 changed files with 999 additions and 655 deletions

View File

@@ -46,7 +46,7 @@ use SP\Domain\Core\File\MimeType;
use SP\Domain\Core\File\MimeTypesService;
use SP\Domain\Crypt\Services\TemporaryMasterPass;
use SP\Domain\Export\Services\BackupFileHelper;
use SP\Domain\Export\Services\XmlExportService;
use SP\Domain\Export\Services\XmlExport;
use SP\Domain\Task\Services\Task;
use SP\Domain\User\Ports\UserGroupServiceInterface;
use SP\Domain\User\Ports\UserProfileServiceInterface;
@@ -479,7 +479,7 @@ final class IndexController extends ControllerBase
)
);
$exportFile = new FileHandler(
XmlExportService::getExportFilename(
XmlExport::buildFilename(
BACKUP_PATH,
$this->configData->getExportHash() ?: '',
true