Commit 612d0af5 by Alexander Makarov

removed unused line from smarty plugin

parent 5284e585
......@@ -87,7 +87,6 @@ class ViewRenderer extends BaseViewRenderer
*/
public function render($view, $file, $params)
{
$ext = pathinfo($file, PATHINFO_EXTENSION);
/** @var \Smarty_Internal_Template $template */
$template = $this->smarty->createTemplate($file, null, null, $params, true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment