From 026df96c6059a3ad2325fabdee9ec04a01c26190 Mon Sep 17 00:00:00 2001 From: Thibault Dockx <thibault.dockx@fusiondirectory.org> Date: Tue, 8 Apr 2025 09:19:55 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20refactor(audit):=20improve=20constr?= =?UTF-8?q?uctor=20and=20method=20formatting=20in=20auditTask=20class?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- audit/workflow/tasks/class_auditTask.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audit/workflow/tasks/class_auditTask.inc b/audit/workflow/tasks/class_auditTask.inc index a7fafb5ebd..d1de8281cd 100644 --- a/audit/workflow/tasks/class_auditTask.inc +++ b/audit/workflow/tasks/class_auditTask.inc @@ -64,7 +64,7 @@ class auditTask extends simplePlugin ]; } - function __construct($dn = NULL, $object = NULL, $parent = NULL, $mainTab = FALSE) + function __construct ($dn = NULL, $object = NULL, $parent = NULL, $mainTab = FALSE) { parent::__construct($dn, $object, $parent, $mainTab); @@ -77,7 +77,7 @@ class auditTask extends simplePlugin $this->attributesAccess['fdAuditSyslogEnabled']->setSubmitForm('updateFieldsState'); } - function updateFieldsState() + function updateFieldsState () { // Disable "Retaining days" if Syslog Transformation is enabled $this->attributesAccess['fdAuditTasksRetention']->setDisabled( -- GitLab