Verified Commit 9db3a4e1 authored by dockx thibault's avatar dockx thibault
Browse files

:sparkles: refactor(extractor): clean up whitespace in extractorTask class for improved readability

Showing with 3 additions and 3 deletions
+3 -3
...@@ -59,7 +59,7 @@ class extractorTask extends simplePlugin ...@@ -59,7 +59,7 @@ class extractorTask extends simplePlugin
'attrs' => [ 'attrs' => [
new SelectAttribute( new SelectAttribute(
_('Format'), _('Output format for extracted data'), _('Format'), _('Output format for extracted data'),
'fdExtractorTaskFormat', TRUE, 'fdExtractorTaskFormat', TRUE,
['CSV'], // Array of choices/keys ['CSV'], // Array of choices/keys
'CSV', // Default value 'CSV', // Default value
[_('CSV (Comma Separated Values)')], // Array of display values corresponding to choices [_('CSV (Comma Separated Values)')], // Array of display values corresponding to choices
...@@ -82,10 +82,10 @@ class extractorTask extends simplePlugin ...@@ -82,10 +82,10 @@ class extractorTask extends simplePlugin
{ {
$selectedMembers = $this->attributesAccess['fdExtractorTaskMembers']->getValue(); $selectedMembers = $this->attributesAccess['fdExtractorTaskMembers']->getValue();
$listOfDN = tasks::extractMembersFromGroups($selectedMembers); $listOfDN = tasks::extractMembersFromGroups($selectedMembers);
// Store the list of DNs for future use // Store the list of DNs for future use
$this->attributesAccess['fdExtractorTaskListOfDN']->setValue($listOfDN); $this->attributesAccess['fdExtractorTaskListOfDN']->setValue($listOfDN);
// Call the method from parent tasks object (first tab) to create sub-tasks // Call the method from parent tasks object (first tab) to create sub-tasks
$this->parent->getBaseObject()->createSlaveTasks($listOfDN, 'fdTasksGranularDN', NULL, 'extract'); $this->parent->getBaseObject()->createSlaveTasks($listOfDN, 'fdTasksGranularDN', NULL, 'extract');
} }
......
Supports Markdown
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