Skip to content

Commit f71ee94

Browse files
committed
fixup! Made plugin support for purge clients
1 parent 0fd42c6 commit f71ee94

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/DependencyInjection/Compiler/PurgeTypeSettingsPass.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,6 @@ public function process(ContainerBuilder $container)
4545
}
4646

4747
$container->setAlias('ezplatform.http_cache.purge_client', $purgeServiceId);
48-
49-
// If purge_type is not 'local' we must override ezpublish.http_cache.purge_client.fos too, which still uses
50-
// eZ\Publish\Core\MVC\Symfony\Cache\Http\FOSPurgeClient
51-
// Or else, that deprecated class is still used by cache:clear
52-
if ($purgeType !== 'local') {
53-
$container->setAlias('ezpublish.http_cache.purge_client', $purgeServiceId);
54-
}
5548
$container->setAlias('ezplatform.view_cache.response_configurator', $responseConfiguratorServiceId);
5649
}
5750
}

0 commit comments

Comments
 (0)