[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 c1963438bc
commit be49bfa0c1

View File

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