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
coudot
fusiondirectory-plugins
Commits
5477c7b1
Verified
Commit
5477c7b1
authored
5 years ago
by
Côme Chilliet
Browse files
Options
Download
Patches
Plain Diff
fix(audit) Fix code style
parent
ee407af7
1.4-dev
6013-add-plugin-for-webauthn
issue-6011
issue-6053-cloud-plugin
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
audit/personal/audit/class_AuditLogAttribute.inc
+2
-1
audit/personal/audit/class_AuditLogAttribute.inc
audit/personal/audit/class_auditSecurity.inc
+3
-4
audit/personal/audit/class_auditSecurity.inc
with
5 additions
and
5 deletions
+5
-5
audit/personal/audit/class_AuditLogAttribute.inc
+
2
−
1
View file @
5477c7b1
...
...
@@ -66,7 +66,8 @@ class AuditLogAttribute extends OrderedArrayAttribute
return
''
;
}
public
static
function
formatDateDiff
(
$date
)
{
public
static
function
formatDateDiff
(
$date
)
{
$now
=
new
DateTime
();
$interval
=
$now
->
diff
(
$date
);
...
...
This diff is collapsed.
Click to expand it.
audit/personal/audit/class_auditSecurity.inc
+
3
−
4
View file @
5477c7b1
...
...
@@ -37,15 +37,14 @@ class auditSecurity extends simplePlugin
{
return
[
'main'
=>
[
'name'
=>
_
(
'Security audit'
),
'class'
=>
[
'fullwidth'
],
'attrs'
=>
[
'name'
=>
_
(
'Security audit'
),
'class'
=>
[
'fullwidth'
],
'attrs'
=>
[
new
AuditLogAttribute
(
''
,
_
(
'Important events involving your account'
),
'fdAuditSecurityLog'
),
],
//~ 'template' => get_template_path('securityaudit.tpl', TRUE, dirname(__FILE__))
],
];
}
...
...
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