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
94ea7908
Commit
94ea7908
authored
1 month ago
by
Oana-Eliza Alexa
Browse files
Options
Download
Patches
Plain Diff
fix indent
parent
70c8b667
78-redesign-audit-class
1 merge request
!74
Draft: Resolve "Redesign audit class"
Pipeline
#32398
failed with stages
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/tasks/Audit.php
+6
-6
plugins/tasks/Audit.php
with
6 additions
and
6 deletions
+6
-6
plugins/tasks/Audit.php
+
6
−
6
View file @
94ea7908
...
@@ -78,12 +78,12 @@ class Audit implements EndpointInterface
...
@@ -78,12 +78,12 @@ class Audit implements EndpointInterface
*/
*/
private
function
processScheduledTask
(
array
$task
):
array
private
function
processScheduledTask
(
array
$task
):
array
{
{
// Retrieve data from the main task.
// Retrieve data from the main task.
$auditMainTask
=
$this
->
getAuditMainTask
(
$task
[
'fdtasksgranularmaster'
][
0
]);
$auditMainTask
=
$this
->
getAuditMainTask
(
$task
[
'fdtasksgranularmaster'
][
0
]);
// Simply get the days to retain audit.
// Simply get the days to retain audit.
$auditRetention
=
$auditMainTask
[
0
][
'fdaudittasksretention'
][
0
];
$auditRetention
=
$auditMainTask
[
0
][
'fdaudittasksretention'
][
0
];
// Verification of all audit and their potential removal based on retention days passed, also update subtasks.
// Verification of all audit and their potential removal based on retention days passed, also update subtasks.
return
$this
->
checkAuditPassedRetention
(
$auditRetention
,
$task
[
'dn'
],
$task
[
'cn'
][
0
]);
return
$this
->
checkAuditPassedRetention
(
$auditRetention
,
$task
[
'dn'
],
$task
[
'cn'
][
0
]);
}
}
/**
/**
...
...
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