Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/Listener/Abdicator.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,10 @@ public static function isFlexmailPreferred($mailing) {
}

switch (\Civi::settings()->get('flexmailer_traditional')) {
case 'auto':
// Transitional support for old hidden setting "experimentalFlexMailerEngine" (bool)
// TODO: Remove this. Maybe after Q4 2019.
// TODO: Change this to default to flexmailer
return (bool) \Civi::settings()->get('experimentalFlexMailerEngine');

case 'bao':
return FALSE;

case 'auto':
case 'flexmailer':
return TRUE;

Expand Down