From 612d0af59259bc449ad91e10688d0fae1887379b Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sun, 21 Jul 2013 18:40:32 +0400 Subject: [PATCH] removed unused line from smarty plugin --- extensions/smarty/yii/smarty/ViewRenderer.php | 1 - 1 file changed, 1 deletion(-) diff --git a/extensions/smarty/yii/smarty/ViewRenderer.php b/extensions/smarty/yii/smarty/ViewRenderer.php index 164ae8c..7a9554e 100644 --- a/extensions/smarty/yii/smarty/ViewRenderer.php +++ b/extensions/smarty/yii/smarty/ViewRenderer.php @@ -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);