PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 5.7.0
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v5.7.0
5.7.0 5.6.2 5.6.3 5.6.1 5.6.0 5.5.0 5.4.0 5.3.2 5.3.1 5.1.6 5.1.5 trunk 2.1.5 2.11 2.12 2.13 2.15 3.0.0 3.0.1 3.0.2 3.0.3 3.0.5 3.0.51 3.0.60 3.0.61 All 39 releases
← All changes | src/Providers/GdprServiceProvider.php +1 -10 trunk → 5.7.0 View file →
@@ -9,11 +9,9 @@
9 9 namespace Forge12\DoubleOptIn\Providers;
10 10
11 11 use Forge12\DoubleOptIn\Admin\SingleConsentExportController;
12 12 use Forge12\DoubleOptIn\Container\BootableProviderInterface;
13 -use Forge12\DoubleOptIn\Audit\ConsentAuditListener;
14 13 use Forge12\DoubleOptIn\Container\Container;
15 -use Forge12\DoubleOptIn\EventSystem\EventDispatcherInterface;
16 14 use Forge12\DoubleOptIn\Repository\OptInRepositoryInterface;
17 15 use Forge12\DoubleOptIn\Service\PrivacyIntegration;
18 16 use Forge12\Shared\LoggerInterface;
19 17
@@ -36,11 +34,9 @@
36 34 PrivacyIntegration::class,
37 35 function ( Container $c ) {
38 36 return new PrivacyIntegration(
39 37 $c->get( LoggerInterface::class ),
40 - $c->get( OptInRepositoryInterface::class ),
41 - // Bound by MailStatusServiceProvider (5.8.0); resolved lazily.
42 - $c->get( \Forge12\DoubleOptIn\Repository\OptInMailStatusRepository::class )
38 + $c->get( OptInRepositoryInterface::class )
43 39 );
44 40 }
45 41 );
46 42
@@ -63,11 +59,6 @@
63 59 $container->get( PrivacyIntegration::class )->register();
64 60
65 61 // Register single-record consent export (fallback if Pro is not active)
66 62 $container->get( SingleConsentExportController::class )->registerActions();
67 -
68 - // A renewed consent is its own audit entry (5.8.0).
69 - if ( $container->has( EventDispatcherInterface::class ) ) {
70 - ( new ConsentAuditListener() )->register( $container->get( EventDispatcherInterface::class ) );
71 - }
72 63 }
73 64 }