Browse Source

removed unused line from smarty plugin

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
612d0af592
  1. 1
      extensions/smarty/yii/smarty/ViewRenderer.php

1
extensions/smarty/yii/smarty/ViewRenderer.php

@ -87,7 +87,6 @@ class ViewRenderer extends BaseViewRenderer
*/ */
public function render($view, $file, $params) public function render($view, $file, $params)
{ {
$ext = pathinfo($file, PATHINFO_EXTENSION);
/** @var \Smarty_Internal_Template $template */ /** @var \Smarty_Internal_Template $template */
$template = $this->smarty->createTemplate($file, null, null, $params, true); $template = $this->smarty->createTemplate($file, null, null, $params, true);

Loading…
Cancel
Save