| @@ -11,11 +11,8 @@ | ||
| 11 | 11 | use Forge12\DoubleOptIn\Container\Container; |
| 12 | 12 | use Forge12\DoubleOptIn\Container\BootableProviderInterface; |
| 13 | 13 | use Forge12\DoubleOptIn\Integration\FormIntegrationRegistry; |
| 14 | 14 | use Forge12\DoubleOptIn\Integration\CF7Integration; |
| 15 | -use Forge12\DoubleOptIn\Integration\CF7FollowUpAdapter; | |
| 16 | -use Forge12\DoubleOptIn\FollowUp\FollowUpAdapterRegistry; | |
| 17 | -use Forge12\DoubleOptIn\Frontend\ConfirmationShortcodes; | |
| 18 | 15 | use Forge12\DoubleOptIn\Frontend\ErrorNotification; |
| 19 | 16 | use Forge12\Shared\LoggerInterface; |
| 20 | 17 | |
| 21 | 18 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -106,11 +103,8 @@ | ||
| 106 | 103 | // Register universal error notification system |
| 107 | 104 | $errorNotification = new ErrorNotification(); |
| 108 | 105 | $errorNotification->register(); |
| 109 | 106 | |
| 110 | - // Confirmation/error page shortcodes + message for failed links (5.8.0). | |
| 111 | - ( new ConfirmationShortcodes() )->register(); | |
| 112 | - | |
| 113 | 107 | $registry = $container->get( FormIntegrationRegistry::class ); |
| 114 | 108 | |
| 115 | 109 | // Register core integrations |
| 116 | 110 | $this->registerCoreIntegrations( $container, $registry ); |
| @@ -152,12 +146,8 @@ | ||
| 152 | 146 | // ships as a paid addon that registers via the AddonRegistry. |
| 153 | 147 | try { |
| 154 | 148 | $cf7Integration = $container->get( CF7Integration::class ); |
| 155 | 149 | $registry->register( $cf7Integration ); |
| 156 | - | |
| 157 | - if ( $container->has( FollowUpAdapterRegistry::class ) ) { | |
| 158 | - $container->get( FollowUpAdapterRegistry::class )->register( new CF7FollowUpAdapter( $cf7Integration ) ); | |
| 159 | - } | |
| 160 | 150 | } catch ( \Exception $e ) { |
| 161 | 151 | // Log but don't fail if CF7 integration can't be loaded |
| 162 | 152 | if ( $container->has( LoggerInterface::class ) ) { |
| 163 | 153 | $container->get( LoggerInterface::class )->warning( |