Skip to content
Permalink
Browse files

Template: removed old accumulators $_l, $_g, $_b

  • Loading branch information
dg committed Jan 5, 2020
1 parent ae944f9 commit 109df3403cbe23fffcbdaf1888421b5433bced6e
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/Latte/Runtime/Template.php
@@ -166,10 +166,6 @@ public function render(): void
}
}

// old accumulators for back compatibility
$this->params['_l'] = new \stdClass;
$this->params['_g'] = $this->global;
$this->params['_b'] = (object) ['blocks' => &$this->blockQueue, 'types' => &$this->blockTypes];
if (isset($this->global->snippetDriver) && $this->global->snippetBridge->isSnippetMode()) {
if ($this->global->snippetDriver->renderSnippets($this->blockQueue, $this->params)) {
return;

0 comments on commit 109df34

Please sign in to comment.
You can’t perform that action at this time.