diff --git a/core/lib/Drupal/Core/Template/TwigEnvironment.php b/core/lib/Drupal/Core/Template/TwigEnvironment.php index 740f194..2a03570 100644 --- a/core/lib/Drupal/Core/Template/TwigEnvironment.php +++ b/core/lib/Drupal/Core/Template/TwigEnvironment.php @@ -127,10 +127,9 @@ public function loadTemplate($name, $index = NULL) { $this->updateCompiledTemplate($cache_filename, $name); } - // Load the file, double-check that the class now exists to prevent - // rare race conditions in the storage. + // Load the file, double-check that the class now exists to prevent rare + // race conditions in the storage. if (!$this->storage()->load($cache_filename) || !class_exists($cls)) { - //if (!$this->storage()->load($cache_filename)) { $this->updateCompiledTemplate($cache_filename, $name); $this->storage()->load($cache_filename); }