diff --git a/plugins/captcha/powcaptcha/services/provider.php b/plugins/captcha/powcaptcha/services/provider.php index 5ccdd5a189076..ba7a4c310d59a 100644 --- a/plugins/captcha/powcaptcha/services/provider.php +++ b/plugins/captcha/powcaptcha/services/provider.php @@ -15,7 +15,6 @@ use Joomla\CMS\Plugin\PluginHelper; use Joomla\DI\Container; use Joomla\DI\ServiceProviderInterface; -use Joomla\Event\DispatcherInterface; use Joomla\Plugin\Captcha\POWCaptcha\Extension\POWCaptcha; return new class () implements ServiceProviderInterface { @@ -34,7 +33,6 @@ public function register(Container $container) PluginInterface::class, function (Container $container) { $plugin = new POWCaptcha( - $container->get(DispatcherInterface::class), (array) PluginHelper::getPlugin('captcha', 'powcaptcha') ); $plugin->setApplication(Factory::getApplication());