[COMPONENT] Remove 'post on status change' option for email transport
This commit is contained in:
parent
c7dbae8067
commit
3fb45176b8
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user