Commit 94ea7908 authored by Oana-Eliza Alexa's avatar Oana-Eliza Alexa
Browse files

fix indent

1 merge request!74Draft: Resolve "Redesign audit class"
Pipeline #32398 failed with stages
in 16 seconds
This commit is part of merge request !74. Comments created here will be created in the context of that merge request.
Showing with 6 additions and 6 deletions
+6 -6
......@@ -78,12 +78,12 @@ class Audit implements EndpointInterface
*/
private function processScheduledTask (array $task): array
{
// Retrieve data from the main task.
$auditMainTask = $this->getAuditMainTask($task['fdtasksgranularmaster'][0]);
// Simply get the days to retain audit.
$auditRetention = $auditMainTask[0]['fdaudittasksretention'][0];
// 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]);
// Retrieve data from the main task.
$auditMainTask = $this->getAuditMainTask($task['fdtasksgranularmaster'][0]);
// Simply get the days to retain audit.
$auditRetention = $auditMainTask[0]['fdaudittasksretention'][0];
// 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]);
}
/**
......
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