Verified Commit 6ff52ab7 authored by dockx thibault's avatar dockx thibault
Browse files

:ambulance: Feat(Mail) - Enclosed files are now properly managed.

Enclosed files fully manageable, add, del, modification.
Showing with 8 additions and 0 deletions
+8 -0
......@@ -68,6 +68,7 @@ class mailTemplate extends simplePlugin
_('Read Receipt'),
'fdMailTemplateReadReceipt', FALSE
),
// Management of attachments files in a sub-node ldap format.
new SubNodesAttribute(
'', _('Attachments'),
'attachments', ['fdMailAttachments'],
......@@ -98,6 +99,13 @@ class mailTemplate extends simplePlugin
}
protected function shouldSave (): bool
{
// Trigger a save method required due to sub nodes not being triggered by default. (Modification and suppression).
return TRUE;
}
function ldap_save (): array
{
global $config;
......
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