diff --git a/lib/SimpleSAML/XHTML/Template.php b/lib/SimpleSAML/XHTML/Template.php
index abd81655f1495cd583776b82461e727a13c4f6ff..6aa01cdb5b9b9a4a1364be2e23a96542c4c49cea 100644
--- a/lib/SimpleSAML/XHTML/Template.php
+++ b/lib/SimpleSAML/XHTML/Template.php
@@ -79,7 +79,6 @@ class SimpleSAML_XHTML_Template
         $this->data['baseurlpath'] = ltrim($this->configuration->getBasePath(), '/');
         $this->translator = new SimpleSAML\Locale\Translate($configuration, $defaultDictionary);
         $this->localization = new \SimpleSAML\Locale\Localization($configuration);
-        $this->useTwig =  $this->setupTwig();
         $this->twig = $this->setupTwig();
     }