Skip to content

Commit

Permalink
BUGFIX: Use actual tags and not log messages to flush
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsunet authored Dec 6, 2022
1 parent e61d4d1 commit a4b76ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Aspects/ContentCacheAspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function interceptNodeCacheFlush(JoinPointInterface $joinPoint)
$object = $joinPoint->getProxy();

$tags = ObjectAccess::getProperty($object, 'tagsToFlush', true);
$tags = array_map([$this, 'sanitizeTag'],$tags);
$tags = array_map([$this, 'sanitizeTag'], array_keys($tags));
$this->cacheFrontend->flushByTags($tags);
}

Expand Down

0 comments on commit a4b76ac

Please sign in to comment.