Skip to content

Commit

Permalink
BUGFIX: Rename method argument typoscriptPath to fusionPath
Browse files Browse the repository at this point in the history
  • Loading branch information
mficzel authored and dlubitz committed Sep 27, 2017
1 parent b524cf2 commit 7134ec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Aspects/ContentCacheVisualisationAspect.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ContentCacheVisualisationAspect
public function wrapContentCacheCachedSegment(JoinPointInterface $joinPoint)
{
$content = $joinPoint->getMethodArgument('content');
$path = $joinPoint->getMethodArgument('typoScriptPath');
$path = $joinPoint->getMethodArgument('fusionPath');

$lifetime = null;
if ($joinPoint->getMethodArgument('lifetime')) {
Expand Down Expand Up @@ -82,7 +82,7 @@ private function _wrapContent($type, $content, $parameter)
public function wrapContentCacheUncachedSegment(JoinPointInterface $joinPoint)
{
$content = $joinPoint->getAdviceChain()->proceed($joinPoint);
$path = $joinPoint->getMethodArgument('typoScriptPath');
$path = $joinPoint->getMethodArgument('fusionPath');

if (!$this->_checkBlacklistedPath($path)) {
$parameter = [
Expand Down

0 comments on commit 7134ec4

Please sign in to comment.