Skip to content

Commit cbc61f6

Browse files
committed
MAGETWO-33240: FPC is permanently invalidated by cron
- removed check for full page cache application
1 parent ef164ce commit cbc61f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageCache/Model/Observer/InvalidateCacheIfChanged.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(
3838
*/
3939
public function execute(\Magento\Framework\Event\Observer $observer)
4040
{
41-
if ($this->config->getType() == \Magento\PageCache\Model\Config::BUILT_IN && $this->config->isEnabled()) {
41+
if ($this->config->isEnabled()) {
4242
$object = $observer->getEvent()->getObject();
4343
if ($object instanceof \Magento\Framework\Object\IdentityInterface) {
4444
if ($object->getIdentities()) {

0 commit comments

Comments
 (0)