forked from GNUsocial/gnu-social
[COMPONENT] Remove 'post on status change' option for email transport
This commit is contained in:
parent
c1963438bc
commit
be49bfa0c1
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user