Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
fusiondirectory-orchestrator
Commits
6c6ee4a7
Commit
6c6ee4a7
authored
1 month ago
by
Oana-Eliza Alexa
Browse files
Options
Download
Patches
Plain Diff
use maps
parent
c45fe531
78-redesign-audit-class
1 merge request
!74
Draft: Resolve "Redesign audit class"
Pipeline
#32392
failed with stages
in 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/tasks/Audit.php
+4
-10
plugins/tasks/Audit.php
with
4 additions
and
10 deletions
+4
-10
plugins/tasks/Audit.php
+
4
−
10
View file @
6c6ee4a7
...
@@ -63,16 +63,10 @@ class Audit implements EndpointInterface
...
@@ -63,16 +63,10 @@ class Audit implements EndpointInterface
*/
*/
public
function
processAuditDeletion
(
array
$auditSubTasks
):
array
public
function
processAuditDeletion
(
array
$auditSubTasks
):
array
{
{
$result
=
[];
return
array_values
(
array_map
(
fn
(
$task
)
=>
$this
->
processScheduledTask
(
$task
),
foreach
(
$auditSubTasks
as
$task
)
{
array_filter
(
$auditSubTasks
,
fn
(
$task
)
=>
$this
->
gateway
->
statusAndScheduleCheck
(
$task
))
// If the tasks must be treated - status and scheduled - process the sub-tasks
));
if
(
$this
->
gateway
->
statusAndScheduleCheck
(
$task
))
{
$result
[]
=
$this
->
processScheduledTask
(
$task
);
}
}
return
$result
;
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets