Skip to content
Permalink
Browse files

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

  • Loading branch information
dg committed Jan 5, 2020
1 parent 04263b8 commit a318db97ee1a95de73ee55cb742f79f41fd0da0e
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/Latte/Runtime/Template.php
@@ -171,10 +171,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 a318db9

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