From 47fb849556cc830d761413f4672a158d3afca234 Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Thu, 13 Feb 2020 21:00:33 +0000 Subject: [PATCH] Remove old defines for flexmailer that haven't been required since CiviCRM 5.x --- Civi/Core/Container.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Civi/Core/Container.php b/Civi/Core/Container.php index 15deda8e29..4172c9946a 100644 --- a/Civi/Core/Container.php +++ b/Civi/Core/Container.php @@ -310,9 +310,6 @@ class Container { ))->addTag('kernel.event_subscriber'); } - if (\CRM_Utils_Constant::value('CIVICRM_FLEXMAILER_HACK_SERVICES')) { - \Civi\Core\Resolver::singleton()->call(CIVICRM_FLEXMAILER_HACK_SERVICES, [$container]); - } \CRM_Api4_Services::hook_container($container); \CRM_Utils_Hook::container($container); @@ -366,10 +363,6 @@ class Container { $dispatcher->addListener(\Civi\ActionSchedule\Events::MAPPINGS, ['CRM_Event_ActionMapping', 'onRegisterActionMappings']); $dispatcher->addListener(\Civi\ActionSchedule\Events::MAPPINGS, ['CRM_Member_ActionMapping', 'onRegisterActionMappings']); - if (\CRM_Utils_Constant::value('CIVICRM_FLEXMAILER_HACK_LISTENERS')) { - \Civi\Core\Resolver::singleton()->call(CIVICRM_FLEXMAILER_HACK_LISTENERS, [$dispatcher]); - } - return $dispatcher; } -- 2.25.1