From 9db3a4e18a33d0adad8c318b5fd2bd3a5f6998d0 Mon Sep 17 00:00:00 2001 From: Thibault Dockx <thibault.dockx@fusiondirectory.org> Date: Mon, 7 Apr 2025 14:09:08 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20refactor(extractor):=20clean=20up?= =?UTF-8?q?=20whitespace=20in=20extractorTask=20class=20for=20improved=20r?= =?UTF-8?q?eadability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- extractor/workflow/class_extractorTask.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extractor/workflow/class_extractorTask.inc b/extractor/workflow/class_extractorTask.inc index 68a4b11459..7041431d31 100644 --- a/extractor/workflow/class_extractorTask.inc +++ b/extractor/workflow/class_extractorTask.inc @@ -59,7 +59,7 @@ class extractorTask extends simplePlugin 'attrs' => [ new SelectAttribute( _('Format'), _('Output format for extracted data'), - 'fdExtractorTaskFormat', TRUE, + 'fdExtractorTaskFormat', TRUE, ['CSV'], // Array of choices/keys 'CSV', // Default value [_('CSV (Comma Separated Values)')], // Array of display values corresponding to choices @@ -82,10 +82,10 @@ class extractorTask extends simplePlugin { $selectedMembers = $this->attributesAccess['fdExtractorTaskMembers']->getValue(); $listOfDN = tasks::extractMembersFromGroups($selectedMembers); - + // Store the list of DNs for future use $this->attributesAccess['fdExtractorTaskListOfDN']->setValue($listOfDN); - + // Call the method from parent tasks object (first tab) to create sub-tasks $this->parent->getBaseObject()->createSlaveTasks($listOfDN, 'fdTasksGranularDN', NULL, 'extract'); } -- GitLab