[COMPONENT] Remove 'post on status change' option for email transport

This commit is contained in:
Hugo Sales 2020-08-05 20:39:17 +00:00 committed by Hugo Sales
parent c7dbae8067
commit 3fb45176b8
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0

View File

@ -40,6 +40,7 @@ class Email extends Module
public function onAddNotificationTransport(&$form_defs): bool
{
$form_defs['email'] = $form_defs['placeholder'];
unset($form_defs['email']['post_on_status_change']);
return Event::next;
}
}