| @@ -11,10 +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 | 15 | use Forge12\DoubleOptIn\Frontend\ErrorNotification; |
| 18 | 16 | use Forge12\Shared\LoggerInterface; |
| 19 | 17 | |
| 20 | 18 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -148,12 +146,8 @@ | ||
| 148 | 146 | // ships as a paid addon that registers via the AddonRegistry. |
| 149 | 147 | try { |
| 150 | 148 | $cf7Integration = $container->get( CF7Integration::class ); |
| 151 | 149 | $registry->register( $cf7Integration ); |
| 152 | - | |
| 153 | - if ( $container->has( FollowUpAdapterRegistry::class ) ) { | |
| 154 | - $container->get( FollowUpAdapterRegistry::class )->register( new CF7FollowUpAdapter( $cf7Integration ) ); | |
| 155 | - } | |
| 156 | 150 | } catch ( \Exception $e ) { |
| 157 | 151 | // Log but don't fail if CF7 integration can't be loaded |
| 158 | 152 | if ( $container->has( LoggerInterface::class ) ) { |
| 159 | 153 | $container->get( LoggerInterface::class )->warning( |