Verified Commit 5477c7b1 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(audit) Fix code style

Showing with 5 additions and 5 deletions
+5 -5
......@@ -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);
......
......@@ -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__))
],
];
}
......
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