Skip to content

Commit

Permalink
fix undefined VERSION constant
Browse files Browse the repository at this point in the history
  • Loading branch information
ericges committed Apr 4, 2024
1 parent 48bb9fb commit 5ff5f5b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Filesystem/TwigTemplateLocator.php
Original file line number Diff line number Diff line change
Expand Up @@ -435,14 +435,6 @@ protected function generateContaoTwigTemplatePaths(bool $extension = false): arr
}

$bundle = null;
if (version_compare(\VERSION, '4.12', '>=')) {
$bundle = new class extends Bundle {
public function __construct()
{
$this->name = 'Contao';
}
};
}

// Bundle template folders
$twigFiles = array_merge_recursive($twigFiles, $this->getTemplatesInPath(
Expand Down

0 comments on commit 5ff5f5b

Please sign in to comment.