Skip to content

Commit

Permalink
removed obsolete insert tag replacement for backend
Browse files Browse the repository at this point in the history
  • Loading branch information
j25j5 committed Feb 7, 2024
1 parent 5418e6d commit 0c2cd77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.idea/
vendor/
composer.lock
.vscode/ftp-sync.json
.vscode/
6 changes: 4 additions & 2 deletions src/EventListener/ParseFrontendTemplateListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ public function __invoke(string $buffer, string $templateName, FrontendTemplate
$GLOBALS['objPage'] = PageModel::findByPk($b->trail[0]);
}
}
$objIt = new InsertTags();
$buffer = $objIt->replace($buffer, true);

//leaving it in for now, but has been made obsolete according to comment here: https://github.com/contao/contao/pull/3622#issuecomment-971806487
//$objIt = new InsertTags();
//$buffer = $objIt->replace($buffer, true);
}

return $buffer;
Expand Down

0 comments on commit 0c2cd77

Please sign in to comment.