[TASK] Remove usages of getTemplateVariableContainer
[Packages/TYPO3.CMS.git] / typo3 / sysext / fluid / Classes / ViewHelpers / FlashMessagesViewHelper.php
index ec90d3d..f32cc55 100644 (file)
@@ -162,7 +162,7 @@ class FlashMessagesViewHelper extends AbstractTagBasedViewHelper
      */
     protected function renderFromTemplate(array $flashMessages, $as)
     {
-        $templateVariableContainer = $this->renderingContext->getTemplateVariableContainer();
+        $templateVariableContainer = $this->renderingContext->getVariableProvider();
         $templateVariableContainer->add($as, $flashMessages);
         $content = $this->renderChildren();
         $templateVariableContainer->remove($as);